aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 6d250a25cf..d1ffe126d4 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -189,7 +189,7 @@ void Shutdown()
StopRPC();
StopHTTPServer();
#ifdef ENABLE_WALLET
- FlushWallets(false);
+ FlushWallets();
#endif
MapPort(false);
UnregisterValidationInterface(peerLogic.get());
@@ -244,7 +244,7 @@ void Shutdown()
pblocktree = nullptr;
}
#ifdef ENABLE_WALLET
- FlushWallets(true);
+ StopWallets();
#endif
#if ENABLE_ZMQ