Pass mempool pointer to UnloadBlockIndex

This commit is contained in:
MarcoFalke
2020-07-19 20:30:18 +02:00
parent faec851b6e
commit fac674db20
5 changed files with 6 additions and 6 deletions

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());
}