diff options
author | Anthony Towns <aj@erisian.com.au> | 2022-01-18 21:34:16 +1000 |
---|---|---|
committer | Anthony Towns <aj@erisian.com.au> | 2022-05-10 12:09:27 +1000 |
commit | 69675ea4e73dcf5e9dd0f94802bd3463e4262081 (patch) | |
tree | fd28492424413d54e5e84f75d3118529b0b82071 /src/test/validation_chainstate_tests.cpp | |
parent | a8098f2cef53ec003edae91100afce564e9c6f23 (diff) |
validation: add CChainParams to ChainstateManager
Diffstat (limited to 'src/test/validation_chainstate_tests.cpp')
-rw-r--r-- | src/test/validation_chainstate_tests.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/validation_chainstate_tests.cpp b/src/test/validation_chainstate_tests.cpp index 2a3990bb7c..e7c7584f1c 100644 --- a/src/test/validation_chainstate_tests.cpp +++ b/src/test/validation_chainstate_tests.cpp @@ -22,7 +22,8 @@ BOOST_FIXTURE_TEST_SUITE(validation_chainstate_tests, TestingSetup) //! BOOST_AUTO_TEST_CASE(validation_chainstate_resize_caches) { - ChainstateManager manager; + const CChainParams& chainparams = Params(); + ChainstateManager manager(chainparams); WITH_LOCK(::cs_main, manager.m_blockman.m_block_tree_db = std::make_unique<CBlockTreeDB>(1 << 20, true)); CTxMemPool mempool; |