mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 12:09:54 +00:00
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:
commit
569d07d60b
1 changed files with 2 additions and 1 deletions
|
@ -771,6 +771,7 @@ namespace cryptonote
|
||||||
outkey.mask = epee::string_tools::pod_to_hex(i.mask);
|
outkey.mask = epee::string_tools::pod_to_hex(i.mask);
|
||||||
outkey.unlocked = i.unlocked;
|
outkey.unlocked = i.unlocked;
|
||||||
outkey.height = i.height;
|
outkey.height = i.height;
|
||||||
|
if (req.get_txid)
|
||||||
outkey.txid = epee::string_tools::pod_to_hex(i.txid);
|
outkey.txid = epee::string_tools::pod_to_hex(i.txid);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue