Use CScheduler for wallet flushing, remove ThreadFlushWalletDB

This commit is contained in:
Matt Corallo
2017-02-08 13:19:18 -05:00
parent 73296f54d6
commit 735d9b5362
5 changed files with 34 additions and 38 deletions

View File

@@ -1639,7 +1639,7 @@ bool AppInitMain(boost::thread_group& threadGroup, CScheduler& scheduler)
#ifdef ENABLE_WALLET
if (pwalletMain)
pwalletMain->postInitProcess(threadGroup);
pwalletMain->postInitProcess(scheduler);
#endif
return !fRequestShutdown;