Merge pull request #6722

c1b03fb1a rpc: return empty txid get_outs rather than 00..00 when not requested (moneromooo-monero)
This commit is contained in:
Alexander Blair 2020-08-16 12:54:42 -07:00
commit 569d07d60b
No known key found for this signature in database
GPG key ID: C64552D877C32479

View file

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