mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
[wallet] Add StopWallets() function to wallet/init.cpp
This commit is contained in:
parent
2da5eafa47
commit
77fe07c159
3 changed files with 14 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue