diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-10-10 15:54:59 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-10-10 15:55:35 +0000 |
commit | 67e76aa06c3db2a82f98fa6a74fff5feb4f4199d (patch) | |
tree | 928ff44c864172c7640d62cb55c8636289db3484 /src/wallet/wallet_rpc_server.cpp | |
parent | Merge pull request #4540 (diff) | |
download | monero-67e76aa06c3db2a82f98fa6a74fff5feb4f4199d.tar.xz |
wallet_rpc_server: optionally return tx keys in sign_transfer
Diffstat (limited to 'src/wallet/wallet_rpc_server.cpp')
-rw-r--r-- | src/wallet/wallet_rpc_server.cpp | 2 |
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) |