aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-09-20 13:03:21 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-09-24 19:42:26 +0000
commitb35beaa8d657aabce3e6567c2db6b52bc73a56a8 (patch)
tree5008ddb23b1c98e616bff1147a190f007e4b1180 /src/wallet/wallet_rpc_server.cpp
parentMerge pull request #4391 (diff)
downloadmonero-b35beaa8d657aabce3e6567c2db6b52bc73a56a8.tar.xz
wallet_rpc_server: include account index in incoming_transfers RPC
Diffstat (limited to 'src/wallet/wallet_rpc_server.cpp')
-rw-r--r--src/wallet/wallet_rpc_server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp
index 86b46b173..752d7a686 100644
--- a/src/wallet/wallet_rpc_server.cpp
+++ b/src/wallet/wallet_rpc_server.cpp
@@ -1539,7 +1539,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);
}