aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2017-08-29 11:47:06 -0400
committerJohn Newbery <john@johnnewbery.com>2017-09-07 16:21:26 -0700
commit43b0e81d0f8f5d235e1cdaa2ee128b67259f7109 (patch)
tree427059c5b9d0675285ec2b294c2212702d959d21 /src/init.cpp
parent290f3c56d9dd8a519920939a4fc440da832c1c63 (diff)
[wallet] Add StartWallets() function to wallet/init.cpp
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 9022b4a4c9..fc31d3d4dd 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -44,7 +44,6 @@
#include "validationinterface.h"
#ifdef ENABLE_WALLET
#include "wallet/init.h"
-#include "wallet/wallet.h"
#endif
#include "warnings.h"
#include <stdint.h>
@@ -1691,9 +1690,7 @@ bool AppInitMain(boost::thread_group& threadGroup, CScheduler& scheduler)
uiInterface.InitMessage(_("Done loading"));
#ifdef ENABLE_WALLET
- for (CWalletRef pwallet : vpwallets) {
- pwallet->postInitProcess(scheduler);
- }
+ StartWallets(scheduler);
#endif
return !fRequestShutdown;