Pass mempool pointer to UnloadBlockIndex

This commit is contained in:
MarcoFalke committed 2020-07-29 12:29:51 +02:00
1 parent faec851b6e
commit fac674db20
5 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -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());
}