mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
validation: No mempool clearing in UnloadBlockIndex
The only caller that uses this is ~ChainTestingSetup() where we immediately destroy the mempool afterwards.
This commit is contained in:
@@ -256,7 +256,7 @@ epilogue:
|
||||
}
|
||||
GetMainSignals().UnregisterBackgroundSignalScheduler();
|
||||
|
||||
WITH_LOCK(::cs_main, UnloadBlockIndex(nullptr, chainman));
|
||||
WITH_LOCK(::cs_main, UnloadBlockIndex(chainman));
|
||||
|
||||
init::UnsetGlobals();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user