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 | b8a4e5b7a6c03dfef510643cc94487e839b26e20 (diff) | |
| parent | 67e76aa06c3db2a82f98fa6a74fff5feb4f4199d (diff) | |
| download | monzero-core-169e6e9074519769afcbef6807567916e45784cb.tar.gz monzero-core-169e6e9074519769afcbef6807567916e45784cb.tar.xz monzero-core-169e6e9074519769afcbef6807567916e45784cb.zip | |
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 |
