aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2017-02-08 13:19:18 -0500
committerMatt Corallo <git@bluematt.me>2017-03-06 18:35:19 -0500
commit735d9b5362aeca34c0e62006986fe9d82c24ca08 (patch)
tree25e2a8ba6b29162ba94520e67f60b9f805e51f7d /src/init.cpp
parent73296f54d6f0b38fcac627882d2e9480a2bad14a (diff)
downloadbitcoin-735d9b5362aeca34c0e62006986fe9d82c24ca08.tar.xz
Use CScheduler for wallet flushing, remove ThreadFlushWalletDB
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index a311ee7d8c..280793c72b 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -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;