wallet2: clear some missing containers in clear()

This commit is contained in:
moneromooo-monero 2017-08-05 18:09:31 +01:00
parent ab594cfee9
commit 9707998a08
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -1860,6 +1860,10 @@ bool wallet2::clear()
m_payments.clear(); m_payments.clear();
m_tx_keys.clear(); m_tx_keys.clear();
m_confirmed_txs.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; m_local_bc_height = 1;
return true; return true;
} }