Merge pull request #6722

c1b03fb1a rpc: return empty txid get_outs rather than 00..00 when not requested (moneromooo-monero)
pull/320/head
Alexander Blair 4 years ago
commit 569d07d60b
No known key found for this signature in database
GPG Key ID: C64552D877C32479

@ -771,7 +771,8 @@ namespace cryptonote
outkey.mask = epee::string_tools::pod_to_hex(i.mask);
outkey.unlocked = i.unlocked;
outkey.height = i.height;
outkey.txid = epee::string_tools::pod_to_hex(i.txid);
if (req.get_txid)
outkey.txid = epee::string_tools::pod_to_hex(i.txid);
}
res.status = CORE_RPC_STATUS_OK;

Loading…
Cancel
Save