mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
[wallet] Add FlushWallets() function to wallet/init.cpp
This commit is contained in:
parent
1b9cee66e1
commit
2da5eafa47
3 changed files with 11 additions and 6 deletions
|
|
@ -245,3 +245,9 @@ bool OpenWallets()
|
|||
|
||||
return true;
|
||||
}
|
||||
|
||||
void FlushWallets(bool shutdown) {
|
||||
for (CWalletRef pwallet : vpwallets) {
|
||||
pwallet->Flush(shutdown);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue