mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-12 05:34:57 +01:00
Use CScheduler for wallet flushing, remove ThreadFlushWalletDB
This commit is contained in:
@@ -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