aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-08-05 18:09:31 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-08-05 18:09:31 +0100
commit9707998a0893b5cd58f83b5c6c6138ce09878970 (patch)
tree3a2376097b845b0fb1f6dfbe838f00c32fb66a54 /src/wallet/wallet2.cpp
parentMerge pull request #2159 (diff)
downloadmonero-9707998a0893b5cd58f83b5c6c6138ce09878970.tar.xz
wallet2: clear some missing containers in clear()
Diffstat (limited to '')
-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 6b1026a55..5e667b769 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -1860,6 +1860,10 @@ bool wallet2::clear()
m_payments.clear();
m_tx_keys.clear();
m_confirmed_txs.clear();
+ m_unconfirmed_payments.clear();
+ m_scanned_pool_txs[0].clear();
+ m_scanned_pool_txs[1].clear();
+ m_address_book.clear();
m_local_bc_height = 1;
return true;
}