mirror of
https://github.com/monero-project/monero.git
synced 2026-01-15 14:23:31 -08:00
Merge pull request #5458
84047cb7 wallet_rpc_server: add unlocked field to incoming_transfers output (moneromooo-monero)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user