aboutsummaryrefslogtreecommitdiff
path: root/src/test/blockfilter_index_tests.cpp
diff options
context:
space:
mode:
authorCarl Dong <contact@carldong.me>2020-10-14 16:48:17 -0400
committerCarl Dong <contact@carldong.me>2021-05-27 13:50:11 -0400
commitdb33cde80fff749c6adff9e91fca5f27f4bb6278 (patch)
tree4e994189869837823ae4fde2c65cdbc11cfe7bf6 /src/test/blockfilter_index_tests.cpp
parentf4a47a1febfa35ab077f2a841fe31a8cd9618250 (diff)
downloadbitcoin-db33cde80fff749c6adff9e91fca5f27f4bb6278.tar.xz
index: Add chainstate member to BaseIndex
Diffstat (limited to 'src/test/blockfilter_index_tests.cpp')
-rw-r--r--src/test/blockfilter_index_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/blockfilter_index_tests.cpp b/src/test/blockfilter_index_tests.cpp
index 1cb1c002f4..2f532ef598 100644
--- a/src/test/blockfilter_index_tests.cpp
+++ b/src/test/blockfilter_index_tests.cpp
@@ -131,7 +131,7 @@ BOOST_FIXTURE_TEST_CASE(blockfilter_index_initial_sync, BuildChainTestingSetup)
// BlockUntilSyncedToCurrentChain should return false before index is started.
BOOST_CHECK(!filter_index.BlockUntilSyncedToCurrentChain());
- BOOST_REQUIRE(filter_index.Start());
+ BOOST_REQUIRE(filter_index.Start(::ChainstateActive()));
// Allow filter index to catch up with the block index.
constexpr int64_t timeout_ms = 10 * 1000;