aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server.cpp
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-03-20 01:57:44 -0400
committerluigi1111 <luigi1111w@gmail.com>2021-03-20 01:57:44 -0400
commit5b8d714a4b3ec279bbe117534e81fa4b1e03d036 (patch)
tree848f496eaf4c8fd89df8ae9e3df91d6ae8c1f556 /src/wallet/wallet_rpc_server.cpp
parentMerge pull request #7418 (diff)
parentreturn output key for incoming transfers (diff)
downloadmonero-5b8d714a4b3ec279bbe117534e81fa4b1e03d036.tar.xz
Merge pull request #7422
d46d90c return output key for incoming transfers (benevanoff)
Diffstat (limited to 'src/wallet/wallet_rpc_server.cpp')
-rw-r--r--src/wallet/wallet_rpc_server.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp
index 70d2d20cf..b09e24d31 100644
--- a/src/wallet/wallet_rpc_server.cpp
+++ b/src/wallet/wallet_rpc_server.cpp
@@ -1887,6 +1887,7 @@ namespace tools
rpc_transfers.tx_hash = epee::string_tools::pod_to_hex(td.m_txid);
rpc_transfers.subaddr_index = {td.m_subaddr_index.major, td.m_subaddr_index.minor};
rpc_transfers.key_image = td.m_key_image_known ? epee::string_tools::pod_to_hex(td.m_key_image) : "";
+ rpc_transfers.pubkey = epee::string_tools::pod_to_hex(td.get_public_key());
rpc_transfers.block_height = td.m_block_height;
rpc_transfers.frozen = td.m_frozen;
rpc_transfers.unlocked = m_wallet->is_transfer_unlocked(td);