diff options
| author | James O'Beirne <[email protected]> | 2019-12-12 14:11:03 -0500 |
|---|---|---|
| committer | James O'Beirne <[email protected]> | 2020-03-17 14:03:40 -0400 |
| commit | 2b081c4568e8019886fdb0f2a57babc73d7487f7 (patch) | |
| tree | 0ed3d53fda9453067ca1d0526ae5a60da9bb9e00 /src/qt/test/apptests.cpp | |
| parent | use ChainstateManager to initialize chainstate (diff) | |
| download | discoin-2b081c4568e8019886fdb0f2a57babc73d7487f7.tar.xz discoin-2b081c4568e8019886fdb0f2a57babc73d7487f7.zip | |
test: add basic tests for ChainstateManager
Feedback incorporated from Russell Yanofsky.
Co-authored-by: MarcoFalke <[email protected]>
Diffstat (limited to 'src/qt/test/apptests.cpp')
| -rw-r--r-- | src/qt/test/apptests.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt/test/apptests.cpp b/src/qt/test/apptests.cpp index 14a75b23f..f9eb4cde3 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. |