diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-04-18 22:01:22 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-04-18 22:01:22 +0200 |
commit | 2e342d8df66bd01ff28cbbacdc94035a986779e3 (patch) | |
tree | ed690428cbd404727b99b3f4966c4d60b0c9e8c1 /src/wallet/wallet_rpc_server.cpp | |
parent | Merge pull request #5456 (diff) | |
parent | wallet_rpc_server: add unlocked field to incoming_transfers output (diff) | |
download | monero-2e342d8df66bd01ff28cbbacdc94035a986779e3.tar.xz |
Merge pull request #5458
84047cb7 wallet_rpc_server: add unlocked field to incoming_transfers output (moneromooo-monero)
Diffstat (limited to 'src/wallet/wallet_rpc_server.cpp')
-rw-r--r-- | src/wallet/wallet_rpc_server.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp index 387fadb55..aaad82bb7 100644 --- a/src/wallet/wallet_rpc_server.cpp +++ b/src/wallet/wallet_rpc_server.cpp @@ -1848,6 +1848,7 @@ namespace tools rpc_transfers.tx_hash = epee::string_tools::pod_to_hex(td.m_txid); rpc_transfers.subaddr_index = {td.m_subaddr_index.major, td.m_subaddr_index.minor}; rpc_transfers.key_image = td.m_key_image_known ? epee::string_tools::pod_to_hex(td.m_key_image) : ""; + rpc_transfers.unlocked = m_wallet->is_transfer_unlocked(td); res.transfers.push_back(rpc_transfers); } } |