diff --git a/silkworm/rpc/commands/ots_api.cpp b/silkworm/rpc/commands/ots_api.cpp index 52da528c26..cfd504efe1 100644 --- a/silkworm/rpc/commands/ots_api.cpp +++ b/silkworm/rpc/commands/ots_api.cpp @@ -169,7 +169,8 @@ Task OtsRpcApi::handle_ots_get_block_details_by_hash(const nlohmann::json& const Block extended_block{block_with_hash, *total_difficulty, false}; const auto block_size = extended_block.get_block_size(); const BlockDetails block_details{block_size, block_with_hash->hash, block_with_hash->block.header, *total_difficulty, - block_with_hash->block.transactions.size(), block_with_hash->block.ommers}; + block_with_hash->block.transactions.size(), block_with_hash->block.ommers, + block_with_hash->block.withdrawals}; const auto receipts = co_await core::get_receipts(tx_database, *block_with_hash); const auto chain_config = co_await chain_storage->read_chain_config(); ensure(chain_config.has_value(), "cannot read chain config");