mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 23:29:12 +01:00
[wallet] Add FlushWallets() function to wallet/init.cpp
This commit is contained in:
@@ -245,3 +245,9 @@ bool OpenWallets()
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void FlushWallets(bool shutdown) {
|
||||
for (CWalletRef pwallet : vpwallets) {
|
||||
pwallet->Flush(shutdown);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user