aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-10-10 15:54:59 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-10-10 15:55:35 +0000
commit67e76aa06c3db2a82f98fa6a74fff5feb4f4199d (patch)
tree928ff44c864172c7640d62cb55c8636289db3484 /src/wallet/wallet_rpc_server.cpp
parentMerge pull request #4540 (diff)
downloadmonero-67e76aa06c3db2a82f98fa6a74fff5feb4f4199d.tar.xz
wallet_rpc_server: optionally return tx keys in sign_transfer
Diffstat (limited to '')
-rw-r--r--src/wallet/wallet_rpc_server.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp
index e0b631aaf..0844f7ffd 100644
--- a/src/wallet/wallet_rpc_server.cpp
+++ b/src/wallet/wallet_rpc_server.cpp
@@ -981,6 +981,8 @@ namespace tools
for (auto &ptx: ptxs)
{
res.tx_hash_list.push_back(epee::string_tools::pod_to_hex(cryptonote::get_transaction_hash(ptx.tx)));
+ if (req.get_tx_keys)
+ res.tx_key_list.push_back(epee::string_tools::pod_to_hex(ptx.tx_key));
}
if (req.export_raw)