diff options
| author | MarcoFalke <[email protected]> | 2020-04-08 19:47:56 -0400 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2020-04-15 15:05:18 -0400 |
| commit | fad4fa7e2fb95b7ced9007060ebfd0e8f181f5d8 (patch) | |
| tree | b8cc4ebb5ce96fef30123357661c22bfad6d070f /src/test/util/setup_common.h | |
| parent | Merge #18615: test: Avoid accessing free'd memory in validation_chainstateman... (diff) | |
| download | discoin-fad4fa7e2fb95b7ced9007060ebfd0e8f181f5d8.tar.xz discoin-fad4fa7e2fb95b7ced9007060ebfd0e8f181f5d8.zip | |
node: Add args alias for gArgs global
Diffstat (limited to 'src/test/util/setup_common.h')
| -rw-r--r-- | src/test/util/setup_common.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/util/setup_common.h b/src/test/util/setup_common.h index 0930309c3..41547c8b3 100644 --- a/src/test/util/setup_common.h +++ b/src/test/util/setup_common.h @@ -73,9 +73,11 @@ static constexpr CAmount CENT{1000000}; */ struct BasicTestingSetup { ECCVerifyHandle globalVerifyHandle; + NodeContext m_node; explicit BasicTestingSetup(const std::string& chainName = CBaseChainParams::MAIN); ~BasicTestingSetup(); + private: const fs::path m_path_root; }; @@ -84,7 +86,6 @@ private: * Included are coins database, script check threads setup. */ struct TestingSetup : public BasicTestingSetup { - NodeContext m_node; boost::thread_group threadGroup; explicit TestingSetup(const std::string& chainName = CBaseChainParams::MAIN); |