diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-08-23 16:37:55 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-08-23 16:38:20 +0000 |
commit | 894cc81e835848a42b24c2a3efaf7261f170cf2c (patch) | |
tree | d69e013b8d36b34b372e704f5f41b120c590de32 /src/wallet | |
parent | Merge pull request #5827 (diff) | |
download | monero-894cc81e835848a42b24c2a3efaf7261f170cf2c.tar.xz |
wallet2: fix cold signing losing tx keys
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/wallet2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 9782e4b1e..ef8b069fe 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -6314,7 +6314,7 @@ bool wallet2::sign_tx(unsigned_tx_set &exported_txs, std::vector<wallet2::pendin // normally, the tx keys are saved in commit_tx, when the tx is actually sent to the daemon. // we can't do that here since the tx will be sent from the compromised wallet, which we don't want // to see that info, so we save it here - if (store_tx_info() && ptx.tx_key != crypto::null_skey) + if (store_tx_info() && tx_key != crypto::null_skey) { const crypto::hash txid = get_transaction_hash(ptx.tx); m_tx_keys.insert(std::make_pair(txid, tx_key)); |