diff --git a/shared_model/backend/protobuf/block.hpp b/shared_model/backend/protobuf/block.hpp index bd2f95418c8..e17920d83d8 100644 --- a/shared_model/backend/protobuf/block.hpp +++ b/shared_model/backend/protobuf/block.hpp @@ -40,8 +40,6 @@ namespace shared_model { interface::types::TimestampType createdTime() const override; - interface::types::TransactionsNumberType txsNumber() const override; - interface::types::HashCollectionType rejected_transactions_hashes() const override; diff --git a/shared_model/backend/protobuf/impl/block.cpp b/shared_model/backend/protobuf/impl/block.cpp index c2fa51f122f..c564fd868a3 100644 --- a/shared_model/backend/protobuf/impl/block.cpp +++ b/shared_model/backend/protobuf/impl/block.cpp @@ -131,11 +131,6 @@ namespace shared_model { return impl_->payload_.created_time(); } - interface::types::TransactionsNumberType Block::txsNumber() const { - // return boost::size(transactions()); - return impl_->payload_.tx_number(); - } - interface::types::HashCollectionType Block::rejected_transactions_hashes() const { return impl_->rejected_transactions_hashes_; diff --git a/shared_model/interfaces/iroha_internal/block.cpp b/shared_model/interfaces/iroha_internal/block.cpp index 82bbf402a66..3911ae3843f 100644 --- a/shared_model/interfaces/iroha_internal/block.cpp +++ b/shared_model/interfaces/iroha_internal/block.cpp @@ -17,7 +17,6 @@ namespace shared_model { .appendNamed("hash", hash().hex()) .appendNamed("height", height()) .appendNamed("prevHash", prevHash().hex()) - .appendNamed("txsNumber", txsNumber()) .appendNamed("createdtime", createdTime()) .appendNamed("transactions", transactions()) .appendNamed("signatures", signatures()) diff --git a/shared_model/interfaces/iroha_internal/block.hpp b/shared_model/interfaces/iroha_internal/block.hpp index 1c83241c8ef..4c5fefd0f19 100644 --- a/shared_model/interfaces/iroha_internal/block.hpp +++ b/shared_model/interfaces/iroha_internal/block.hpp @@ -25,11 +25,6 @@ namespace shared_model { */ virtual const types::HashType &prevHash() const = 0; - /** - * @return amount of transactions in block - */ - virtual types::TransactionsNumberType txsNumber() const = 0; - /** * @return collection of transactions */