mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 11:23:26 +01:00
rpc: return empty txid get_outs rather than 00..00 when not requested
It's more obvious there's no txid, and it saves space
This commit is contained in:
parent
5d850dde99
commit
c1b03fb1a6
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user