aboutsummaryrefslogtreecommitdiff
path: root/src/test/coinstatsindex_tests.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-04-28 14:01:37 +0200
committerMarcoFalke <falke.marco@gmail.com>2021-05-12 10:47:35 +0200
commitfaad68fcd440e77e61a5a1560471417dd984e390 (patch)
tree0e6783601ce151ae81ff78ae7fe2a32768862d9e /src/test/coinstatsindex_tests.cpp
parent2e30e328a7a46e0405664fd0cb31d971171f71d1 (diff)
downloadbitcoin-faad68fcd440e77e61a5a1560471417dd984e390.tar.xz
index: Avoid async shutdown on init error
Diffstat (limited to 'src/test/coinstatsindex_tests.cpp')
-rw-r--r--src/test/coinstatsindex_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/coinstatsindex_tests.cpp b/src/test/coinstatsindex_tests.cpp
index 3fc7b72077..bf7a80ae5c 100644
--- a/src/test/coinstatsindex_tests.cpp
+++ b/src/test/coinstatsindex_tests.cpp
@@ -32,7 +32,7 @@ BOOST_FIXTURE_TEST_CASE(coinstatsindex_initial_sync, TestChain100Setup)
// is started.
BOOST_CHECK(!coin_stats_index.BlockUntilSyncedToCurrentChain());
- coin_stats_index.Start();
+ BOOST_REQUIRE(coin_stats_index.Start());
// Allow the CoinStatsIndex to catch up with the block index that is syncing
// in a background thread.