From 2b081c4568e8019886fdb0f2a57babc73d7487f7 Mon Sep 17 00:00:00 2001 From: James O'Beirne Date: Thu, 12 Dec 2019 14:11:03 -0500 Subject: test: add basic tests for ChainstateManager Feedback incorporated from Russell Yanofsky. Co-authored-by: MarcoFalke --- src/qt/test/apptests.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/qt/test') diff --git a/src/qt/test/apptests.cpp b/src/qt/test/apptests.cpp index 14a75b23f3..f9eb4cde30 100644 --- a/src/qt/test/apptests.cpp +++ b/src/qt/test/apptests.cpp @@ -82,6 +82,7 @@ void AppTests::appTests() // Reset global state to avoid interfering with later tests. AbortShutdown(); UnloadBlockIndex(); + g_chainman.Reset(); } //! Entry point for BitcoinGUI tests. -- cgit v1.2.3