Auto rescan if note witnesses are off

This commit is contained in:
Michael Toutonghi
2018-10-12 19:15:38 -07:00
parent 47ab0926c4
commit a5d8fff5e5
2 changed files with 2 additions and 3 deletions

View File

@@ -1849,6 +1849,8 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
LogPrintf("mapBlockIndex.size() = %u\n", mapBlockIndex.size());
LogPrintf("nBestHeight = %d\n", chainActive.Height());
#ifdef ENABLE_WALLET
RescanWallets();
LogPrintf("setKeyPool.size() = %u\n", pwalletMain ? pwalletMain->setKeyPool.size() : 0);
LogPrintf("mapWallet.size() = %u\n", pwalletMain ? pwalletMain->mapWallet.size() : 0);
LogPrintf("mapAddressBook.size() = %u\n", pwalletMain ? pwalletMain->mapAddressBook.size() : 0);