diff --git a/src/serial_bridge_index.cpp b/src/serial_bridge_index.cpp index 549b40b..001bae2 100644 --- a/src/serial_bridge_index.cpp +++ b/src/serial_bridge_index.cpp @@ -662,12 +662,9 @@ string serial_bridge::decodeRctSimple(const string &args_string) assert(ecdh_info_desc.first.empty()); // array elements have no names auto ecdh_info = rct::ecdhTuple{}; if (rv.type == rct::RCTTypeBulletproof2) { - // crypto::hash8 amount; - // if (!epee::string_tools::hex_to_pod(ecdh_info_desc.second.get("amount"), amount)) { if (!epee::string_tools::hex_to_pod(ecdh_info_desc.second.get("amount"), (crypto::hash8&)ecdh_info.amount)) { return error_ret_json_from_message("Invalid rv.ecdhInfo[].amount"); } - // ecdh_info.amount = (rct::key&)amount; } else { if (!epee::string_tools::hex_to_pod(ecdh_info_desc.second.get("mask"), ecdh_info.mask)) { return error_ret_json_from_message("Invalid rv.ecdhInfo[].mask");