From 84047cb7294644e88510e9be6e864204434fa7bf Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Wed, 17 Apr 2019 15:29:59 +0000 Subject: wallet_rpc_server: add unlocked field to incoming_transfers output --- src/wallet/wallet_rpc_server.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/wallet/wallet_rpc_server.cpp') 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); } } -- cgit v1.2.3