mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
[wallet] Add StartWallets() function to wallet/init.cpp
This commit is contained in:
parent
290f3c56d9
commit
43b0e81d0f
3 changed files with 11 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue