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/wallet2.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/wallet2.cpp')
-rw-r--r-- | src/wallet/wallet2.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index f87edf506..680f3a214 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -5607,6 +5607,10 @@ bool wallet2::sign_tx(unsigned_tx_set &exported_txs, std::vector<wallet2::pendin ptx.construction_data = sd; txs.push_back(ptx); + + // add tx keys only to ptx + txs.back().tx_key = tx_key; + txs.back().additional_tx_keys = additional_tx_keys; } // add key images |