aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-02-15 20:51:30 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-02-15 20:51:30 +0000
commit8f09b71b9b8a961b620120cbe1c1ff9fde7ef99f (patch)
tree8e77ac9c2b56ff74b6f8ba0fda1bb74e4e809c1c /src
parentMerge pull request #658 (diff)
downloadmonero-8f09b71b9b8a961b620120cbe1c1ff9fde7ef99f.tar.xz
wallet: clear missing data on rescan_bc
Diffstat (limited to 'src')
-rw-r--r--src/wallet/wallet2.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp
index ed6d3842d..ce829b00f 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -902,6 +902,10 @@ bool wallet2::clear()
m_blockchain.clear();
m_transfers.clear();
m_key_images.clear();
+ m_unconfirmed_txs.clear();
+ m_payments.clear();
+ m_tx_keys.clear();
+ m_confirmed_txs.clear();
m_local_bc_height = 1;
return true;
}