Use CScheduler for wallet flushing, remove ThreadFlushWalletDB
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user