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/wallet2.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/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 c5618375e..69daf774c 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -5612,6 +5612,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 |