diff options
author | Alexander Blair <snipa@jagtech.io> | 2020-08-16 12:54:42 -0700 |
---|---|---|
committer | Alexander Blair <snipa@jagtech.io> | 2020-08-16 12:54:42 -0700 |
commit | 569d07d60b54325112e1b9e7058fba46032bee19 (patch) | |
tree | 0fd2e99be5882271e64f936acd6eee4bd66e6fcb | |
parent | Merge pull request #6720 (diff) | |
parent | rpc: return empty txid get_outs rather than 00..00 when not requested (diff) | |
download | monero-569d07d60b54325112e1b9e7058fba46032bee19.tar.xz |
Merge pull request #6722
c1b03fb1a rpc: return empty txid get_outs rather than 00..00 when not requested (moneromooo-monero)
-rw-r--r-- | src/rpc/core_rpc_server.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp index bc561abc4..82d83f41d 100644 --- a/src/rpc/core_rpc_server.cpp +++ b/src/rpc/core_rpc_server.cpp @@ -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; |