diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-10-26 22:32:34 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-10-26 22:32:34 +0200 |
commit | 169e6e9074519769afcbef6807567916e45784cb (patch) | |
tree | 420ea5d7211c7bd55768fc8b22cea106d63f5b6d /src/wallet/wallet_rpc_server.cpp | |
parent | Merge pull request #4547 (diff) | |
parent | wallet_rpc_server: optionally return tx keys in sign_transfer (diff) | |
download | monero-169e6e9074519769afcbef6807567916e45784cb.tar.xz |
Merge pull request #4552
67e76aa0 wallet_rpc_server: optionally return tx keys in sign_transfer (moneromooo-monero)
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 496c30807..c30bafc09 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) |