aboutsummaryrefslogtreecommitdiff
path: root/src/test/blockmanager_tests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/blockmanager_tests.cpp')
-rw-r--r--src/test/blockmanager_tests.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/blockmanager_tests.cpp b/src/test/blockmanager_tests.cpp
index aaad37824a..f094766886 100644
--- a/src/test/blockmanager_tests.cpp
+++ b/src/test/blockmanager_tests.cpp
@@ -21,8 +21,9 @@ BOOST_FIXTURE_TEST_SUITE(blockmanager_tests, BasicTestingSetup)
BOOST_AUTO_TEST_CASE(blockmanager_find_block_pos)
{
const auto params {CreateChainParams(ArgsManager{}, ChainType::MAIN)};
- node::BlockManager::Options blockman_opts{
+ const BlockManager::Options blockman_opts{
.chainparams = *params,
+ .blocks_dir = m_args.GetBlocksDirPath(),
};
BlockManager blockman{blockman_opts};
CChain chain {};