diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-12-25 21:15:08 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-12-25 21:15:08 +0200 |
commit | b3dddb22feedfd07cb9d05661371634f2a25bc79 (patch) | |
tree | 48b916919e2dfa216321d8dcad4cf171b9903445 /src/wallet/wallet_rpc_server.cpp | |
parent | Merge pull request #2897 (diff) | |
parent | return subaddress in get_bulk_payments (diff) | |
download | monero-b3dddb22feedfd07cb9d05661371634f2a25bc79.tar.xz |
Merge pull request #2899
b60f48f0 return subaddress in get_bulk_payments (Dmitriy Plekhanov)
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 0482b9dd6..ceef7fbb0 100644 --- a/src/wallet/wallet_rpc_server.cpp +++ b/src/wallet/wallet_rpc_server.cpp @@ -1275,6 +1275,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; |