diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-04-17 15:29:59 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-04-17 15:30:49 +0000 |
commit | 84047cb7294644e88510e9be6e864204434fa7bf (patch) | |
tree | baa9b71d0f763143d02c30dc952bd14475dc36c6 /src/wallet/wallet_rpc_server.cpp | |
parent | Merge pull request #5415 (diff) | |
download | monero-84047cb7294644e88510e9be6e864204434fa7bf.tar.xz |
wallet_rpc_server: add unlocked field to incoming_transfers output
Diffstat (limited to '')
-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 1dd589d41..61045c679 100644 --- a/src/wallet/wallet_rpc_server.cpp +++ b/src/wallet/wallet_rpc_server.cpp @@ -1850,6 +1850,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); } } |