From 8129bc88c10d8bfe0f77aa4ec602b68d844530de Mon Sep 17 00:00:00 2001 From: wowario Date: Sun, 9 May 2021 22:51:07 +0300 Subject: [PATCH] comment out store_t_to_binary --- src/page.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/page.h b/src/page.h index 9afefa0..7cd951c 100644 --- a/src/page.h +++ b/src/page.h @@ -1448,12 +1448,12 @@ show_block_hex(size_t block_height, bool complete_blk) std::string complete_block_data_str; - if(!epee::serialization::store_t_to_binary( + /*if(!epee::serialization::store_t_to_binary( complete_block_data, complete_block_data_str)) { cerr << "Failed to serialize complete_block_data\n"; return string {"Failed to obtain complete block data"}; - } + }*/ return epee::string_tools ::buff_to_hex_nodelimer(complete_block_data_str); @@ -1745,12 +1745,12 @@ show_ringmemberstx_jsonhex(string const& tx_hash_str) std::string complete_block_data_str; - if(!epee::serialization::store_t_to_binary( + /*if(!epee::serialization::store_t_to_binary( complete_block_data, complete_block_data_str)) { cerr << "Failed to serialize complete_block_data\n"; return json {"error", "Failed to obtain complete block data"}; - } + }*/ tx_details txd = get_tx_details(tx);