mirror of
https://github.com/monero-project/monero.git
synced 2024-12-26 14:39:26 -05:00
return subaddress in get_bulk_payments
This commit is contained in:
parent
8512a83572
commit
b60f48f0e3
@ -1128,6 +1128,7 @@ namespace tools
|
|||||||
{
|
{
|
||||||
wallet_rpc::payment_details rpc_payment;
|
wallet_rpc::payment_details rpc_payment;
|
||||||
rpc_payment.payment_id = epee::string_tools::pod_to_hex(payment.first);
|
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.tx_hash = epee::string_tools::pod_to_hex(payment.second.m_tx_hash);
|
||||||
rpc_payment.amount = payment.second.m_amount;
|
rpc_payment.amount = payment.second.m_amount;
|
||||||
rpc_payment.block_height = payment.second.m_block_height;
|
rpc_payment.block_height = payment.second.m_block_height;
|
||||||
|
Loading…
Reference in New Issue
Block a user