Remove comments

pull/25/head
Guten Ye 5 years ago
parent 03980e5451
commit d09f13a5ac

@ -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<string>("amount"), amount)) {
if (!epee::string_tools::hex_to_pod(ecdh_info_desc.second.get<string>("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<string>("mask"), ecdh_info.mask)) {
return error_ret_json_from_message("Invalid rv.ecdhInfo[].mask");

Loading…
Cancel
Save