[wallet] Add StartWallets() function to wallet/init.cpp

This commit is contained in:
John Newbery
2017-08-29 11:47:06 -04:00
parent 290f3c56d9
commit 43b0e81d0f
3 changed files with 11 additions and 4 deletions

View File

@@ -254,6 +254,12 @@ bool OpenWallets()
return true;
}
void StartWallets(CScheduler& scheduler) {
for (CWalletRef pwallet : vpwallets) {
pwallet->postInitProcess(scheduler);
}
}
void FlushWallets() {
for (CWalletRef pwallet : vpwallets) {
pwallet->Flush(false);