diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-09-25 12:12:14 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-09-25 12:12:14 +0200 |
commit | cd8c7f6e782c2a5c57cc9c4ae2a7bd356561f152 (patch) | |
tree | 1ff54efd1571ec8448a8f471cab03f2c74544c47 /src/wallet/wallet_rpc_server.cpp | |
parent | Merge pull request #4420 (diff) | |
parent | wallet_rpc_server: include account index in incoming_transfers RPC (diff) | |
download | monero-cd8c7f6e782c2a5c57cc9c4ae2a7bd356561f152.tar.xz |
Merge pull request #4433
b35beaa8 wallet_rpc_server: include account index in incoming_transfers RPC (moneromooo-monero)
Diffstat (limited to 'src/wallet/wallet_rpc_server.cpp')
-rw-r--r-- | src/wallet/wallet_rpc_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp index 4dc579f86..e6eb64d12 100644 --- a/src/wallet/wallet_rpc_server.cpp +++ b/src/wallet/wallet_rpc_server.cpp @@ -1553,7 +1553,7 @@ namespace tools rpc_transfers.spent = td.m_spent; rpc_transfers.global_index = td.m_global_output_index; 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) : ""; res.transfers.push_back(rpc_transfers); } |