aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2015-04-02 12:04:59 -0400
committerGavin Andresen <gavinandresen@gmail.com>2015-05-14 12:50:42 -0400
commit9a1dcea2df2a6a89acf79bc41972e937d783a080 (patch)
treea442b42c60df35d3e95d313ba08a47a2a793af8d /src/init.cpp
parentddd0acd3dbbbf3e19d2379fc9b24e7ef5c2a8adb (diff)
Use CScheduler for net's DumpAddresses
Instead of starting Yet Another Thread to dump addresses, use CScheduler to do it.
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 51f3671c1d..94ed25fe7b 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -1378,7 +1378,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
LogPrintf("mapAddressBook.size() = %u\n", pwalletMain ? pwalletMain->mapAddressBook.size() : 0);
#endif
- StartNode(threadGroup);
+ StartNode(threadGroup, scheduler);
#ifdef ENABLE_WALLET
// Generate coins in the background