From 3b91d4b9947adbec74721f538e46c712db22587c Mon Sep 17 00:00:00 2001 From: Russell Yanofsky Date: Wed, 1 Dec 2021 18:16:29 -0500 Subject: refactor: Reduce number of LoadChainstate parameters --- src/test/util/setup_common.cpp | 29 +++++++++++------------------ 1 file changed, 11 insertions(+), 18 deletions(-) (limited to 'src/test') diff --git a/src/test/util/setup_common.cpp b/src/test/util/setup_common.cpp index 0fba9258f1..db5937121b 100644 --- a/src/test/util/setup_common.cpp +++ b/src/test/util/setup_common.cpp @@ -54,8 +54,6 @@ using node::BlockAssembler; using node::CalculateCacheSizes; -using node::fPruneMode; -using node::fReindex; using node::LoadChainstate; using node::NodeContext; using node::RegenerateCommitments; @@ -218,24 +216,19 @@ TestingSetup::TestingSetup(const std::string& chainName, const std::vector