diff options
| author | John Newbery <[email protected]> | 2017-08-28 12:31:53 -0400 |
|---|---|---|
| committer | John Newbery <[email protected]> | 2017-09-07 16:21:26 -0700 |
| commit | 2da5eafa47cdf81107bd3e71a709d404ebb6dcdb (patch) | |
| tree | 5ebc2890b25d7697dec4c0b3a36764363b3a087d /src/wallet/init.cpp | |
| parent | [wallet] Rename WalletVerify() to VerifyWallets() (diff) | |
| download | discoin-2da5eafa47cdf81107bd3e71a709d404ebb6dcdb.tar.xz discoin-2da5eafa47cdf81107bd3e71a709d404ebb6dcdb.zip | |
[wallet] Add FlushWallets() function to wallet/init.cpp
Diffstat (limited to 'src/wallet/init.cpp')
| -rw-r--r-- | src/wallet/init.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wallet/init.cpp b/src/wallet/init.cpp index f39201e79..f58f3bc54 100644 --- a/src/wallet/init.cpp +++ b/src/wallet/init.cpp @@ -245,3 +245,9 @@ bool OpenWallets() return true; } + +void FlushWallets(bool shutdown) { + for (CWalletRef pwallet : vpwallets) { + pwallet->Flush(shutdown); + } +} |