diff options
author | Dmitriy Plekhanov <onemanstartup@gmail.com> | 2017-12-08 18:45:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-08 18:45:53 +0300 |
commit | b60f48f0e31c17638f771042887b2fffdbad15b4 (patch) | |
tree | 9a7e0b7b001001f92bbad49f2b70fe744920f089 /src/wallet/wallet_rpc_server.cpp | |
parent | Merge pull request #2845 (diff) | |
download | monero-b60f48f0e31c17638f771042887b2fffdbad15b4.tar.xz |
return subaddress in get_bulk_payments
Diffstat (limited to 'src/wallet/wallet_rpc_server.cpp')
-rw-r--r-- | src/wallet/wallet_rpc_server.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp index c315684de..6b059395b 100644 --- a/src/wallet/wallet_rpc_server.cpp +++ b/src/wallet/wallet_rpc_server.cpp @@ -1128,6 +1128,7 @@ namespace tools { wallet_rpc::payment_details rpc_payment; rpc_payment.payment_id = epee::string_tools::pod_to_hex(payment.first); + rpc_payment.subaddress = m_wallet->get_subaddress_as_str(payment.second.m_subaddr_index); rpc_payment.tx_hash = epee::string_tools::pod_to_hex(payment.second.m_tx_hash); rpc_payment.amount = payment.second.m_amount; rpc_payment.block_height = payment.second.m_block_height; |