aboutsummaryrefslogtreecommitdiff
path: root/src/qt/test
diff options
context:
space:
mode:
authorJames O'Beirne <james.obeirne@gmail.com>2019-12-12 14:11:03 -0500
committerJames O'Beirne <james.obeirne@pm.me>2020-03-17 14:03:40 -0400
commit2b081c4568e8019886fdb0f2a57babc73d7487f7 (patch)
tree0ed3d53fda9453067ca1d0526ae5a60da9bb9e00 /src/qt/test
parent4ae29f5f0c5117032debb722d7049664fdceeae8 (diff)
test: add basic tests for ChainstateManager
Feedback incorporated from Russell Yanofsky. Co-authored-by: MarcoFalke <falke.marco@gmail.com>
Diffstat (limited to 'src/qt/test')
-rw-r--r--src/qt/test/apptests.cpp1
1 files changed, 1 insertions, 0 deletions
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.