diff options
author | MacroFake <falke.marco@gmail.com> | 2022-05-18 18:49:36 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-05-18 18:45:30 +0200 |
commit | faf012b438b451dced785e7f031e07c0c55665e1 (patch) | |
tree | 1e409aa5f6bee128cc2b2fcf16dbc5470d0c38d7 /src/test | |
parent | fa4ee53dca5ccf1b87f019f372ffc10528add943 (diff) | |
download | bitcoin-faf012b438b451dced785e7f031e07c0c55665e1.tar.xz |
Do not pass Consensus::Params& to Chainstate helpers
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/util/setup_common.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/test/util/setup_common.cpp b/src/test/util/setup_common.cpp index 0d588b137c..3cba19b701 100644 --- a/src/test/util/setup_common.cpp +++ b/src/test/util/setup_common.cpp @@ -201,7 +201,6 @@ TestingSetup::TestingSetup(const std::string& chainName, const std::vector<const *Assert(m_node.chainman.get()), Assert(m_node.mempool.get()), fPruneMode, - chainparams.GetConsensus(), m_args.GetBoolArg("-reindex-chainstate", false), m_cache_sizes.block_tree_db, m_cache_sizes.coins_db, @@ -214,7 +213,6 @@ TestingSetup::TestingSetup(const std::string& chainName, const std::vector<const *Assert(m_node.chainman), fReindex.load(), m_args.GetBoolArg("-reindex-chainstate", false), - chainparams.GetConsensus(), m_args.GetIntArg("-checkblocks", DEFAULT_CHECKBLOCKS), m_args.GetIntArg("-checklevel", DEFAULT_CHECKLEVEL)); assert(!maybe_verify_error.has_value()); |