Compare commits

..

10 Commits

@ -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);

@ -944,6 +944,14 @@ decode_ringct(rct::rctSig const& rv,
mask,
hw::get_device("default"));
break;
case rct::RCTTypeBulletproofPlus:
case rct::RCTTypeTriptych:
amount = rct::decodeRctSimple(rv,
rct::sk2rct(scalar1),
i,
mask,
hw::get_device("default"));
break;
case rct::RCTTypeFull:
amount = rct::decodeRct(rv,
rct::sk2rct(scalar1),

Loading…
Cancel
Save