aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-02-17 17:09:48 +0200
committerRiccardo Spagni <ric@spagni.net>2016-02-17 17:09:48 +0200
commit6636b0a6da1a88e333a4831bf8f3ad6977cf95f1 (patch)
treec3d45c143e7a0013ef66ff9eef6addec296776db
parentMerge pull request #666 (diff)
parentwallet: clear missing data on rescan_bc (diff)
downloadmonero-6636b0a6da1a88e333a4831bf8f3ad6977cf95f1.tar.xz
Merge pull request #671
8f09b71 wallet: clear missing data on rescan_bc (moneromooo-monero)
-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;
}