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

This commit is contained in:
John Newbery
2017-08-28 12:53:56 -04:00
parent 2da5eafa47
commit 77fe07c159
3 changed files with 14 additions and 6 deletions

View File

@@ -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