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