diff options
| author | 251 <[email protected]> | 2019-07-23 23:47:17 +0200 |
|---|---|---|
| committer | 251 <[email protected]> | 2019-11-21 21:05:38 +0100 |
| commit | e20c72f9f076681def325b5b5fa53bccda2b0eab (patch) | |
| tree | f88c796738d7379600782ac143e24a0f922fca45 /src/init.cpp | |
| parent | Merge #17513: refactor, qt: Nuke some circular dependencies (diff) | |
| download | discoin-e20c72f9f076681def325b5b5fa53bccda2b0eab.tar.xz discoin-e20c72f9f076681def325b5b5fa53bccda2b0eab.zip | |
Fire TransactionRemovedFromMempool from mempool
This commit fires TransactionRemovedFromMempool callbacks from the
mempool and cleans up a bunch of code.
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/init.cpp b/src/init.cpp index 60209eb60..e7dda5959 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -281,7 +281,6 @@ void Shutdown(NodeContext& node) node.chain_clients.clear(); UnregisterAllValidationInterfaces(); GetMainSignals().UnregisterBackgroundSignalScheduler(); - GetMainSignals().UnregisterWithMempoolSignals(mempool); globalVerifyHandle.reset(); ECC_Stop(); if (node.mempool) node.mempool = nullptr; @@ -1263,7 +1262,6 @@ bool AppInitMain(NodeContext& node) }, 60000); GetMainSignals().RegisterBackgroundSignalScheduler(scheduler); - GetMainSignals().RegisterWithMempoolSignals(mempool); // Create client interfaces for wallets that are supposed to be loaded // according to -wallet and -disablewallet options. This only constructs |