mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-23 08:38:53 +00:00
Merge pull request #4433
b35beaa8
wallet_rpc_server: include account index in incoming_transfers RPC (moneromooo-monero)
This commit is contained in:
commit
cd8c7f6e78
@ -1553,7 +1553,7 @@ namespace tools
|
|||||||
rpc_transfers.spent = td.m_spent;
|
rpc_transfers.spent = td.m_spent;
|
||||||
rpc_transfers.global_index = td.m_global_output_index;
|
rpc_transfers.global_index = td.m_global_output_index;
|
||||||
rpc_transfers.tx_hash = epee::string_tools::pod_to_hex(td.m_txid);
|
rpc_transfers.tx_hash = epee::string_tools::pod_to_hex(td.m_txid);
|
||||||
rpc_transfers.subaddr_index = td.m_subaddr_index.minor;
|
rpc_transfers.subaddr_index = {td.m_subaddr_index.major, td.m_subaddr_index.minor};
|
||||||
rpc_transfers.key_image = req.verbose && td.m_key_image_known ? epee::string_tools::pod_to_hex(td.m_key_image) : "";
|
rpc_transfers.key_image = req.verbose && td.m_key_image_known ? epee::string_tools::pod_to_hex(td.m_key_image) : "";
|
||||||
res.transfers.push_back(rpc_transfers);
|
res.transfers.push_back(rpc_transfers);
|
||||||
}
|
}
|
||||||
|
@ -863,7 +863,7 @@ namespace wallet_rpc
|
|||||||
bool spent;
|
bool spent;
|
||||||
uint64_t global_index;
|
uint64_t global_index;
|
||||||
std::string tx_hash;
|
std::string tx_hash;
|
||||||
uint32_t subaddr_index;
|
cryptonote::subaddress_index subaddr_index;
|
||||||
std::string key_image;
|
std::string key_image;
|
||||||
|
|
||||||
BEGIN_KV_SERIALIZE_MAP()
|
BEGIN_KV_SERIALIZE_MAP()
|
||||||
|
Loading…
Reference in New Issue
Block a user