aboutsummaryrefslogtreecommitdiff
path: root/src/test/util
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-08-21 20:13:40 +0200
committerMarcoFalke <falke.marco@gmail.com>2020-08-24 07:45:17 +0200
commitfa40017706e08b4de111e8e57aabeced60881a57 (patch)
tree7ed4294e423480fbfa745b17d2369ef149a96ec7 /src/test/util
parent197450f80868fe752c6107955e5da80704212b34 (diff)
init: Pass reference to ArgsManager around instead of relying on global
Diffstat (limited to 'src/test/util')
-rw-r--r--src/test/util/setup_common.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/util/setup_common.cpp b/src/test/util/setup_common.cpp
index b2ae1cb845..0143b08be4 100644
--- a/src/test/util/setup_common.cpp
+++ b/src/test/util/setup_common.cpp
@@ -97,8 +97,8 @@ BasicTestingSetup::BasicTestingSetup(const std::string& chainName, const std::ve
SelectParams(chainName);
SeedInsecureRand();
if (G_TEST_LOG_FUN) LogInstance().PushBackCallback(G_TEST_LOG_FUN);
- InitLogging();
- AppInitParameterInteraction();
+ InitLogging(*m_node.args);
+ AppInitParameterInteraction(*m_node.args);
LogInstance().StartLogging();
SHA256AutoDetect();
ECC_Start();