diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2015-04-02 12:04:59 -0400 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2015-05-14 12:50:42 -0400 |
commit | 9a1dcea2df2a6a89acf79bc41972e937d783a080 (patch) | |
tree | a442b42c60df35d3e95d313ba08a47a2a793af8d /src/init.cpp | |
parent | ddd0acd3dbbbf3e19d2379fc9b24e7ef5c2a8adb (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.cpp | 2 |
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 |