mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-08 21:59:10 +02:00
Pass mempool pointer to UnloadBlockIndex
This commit is contained in:
@@ -83,7 +83,7 @@ void AppTests::appTests()
|
||||
// Reset global state to avoid interfering with later tests.
|
||||
LogInstance().DisconnectTestLogger();
|
||||
AbortShutdown();
|
||||
UnloadBlockIndex();
|
||||
UnloadBlockIndex(/* mempool */ nullptr);
|
||||
WITH_LOCK(::cs_main, g_chainman.Reset());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user