Skip to content

Commit 562664d

Browse files
committed
test: wait for fee estimator to catch up before estimating fees
1 parent 6d57909 commit 562664d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/test/policyestimator_tests.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ BOOST_AUTO_TEST_CASE(BlockPolicyEstimates)
112112
}
113113
}
114114

115+
// Wait for fee estimator to catch up
116+
SyncWithValidationInterfaceQueue();
117+
115118
std::vector<CAmount> origFeeEst;
116119
// Highest feerate is 10*baseRate and gets in all blocks,
117120
// second highest feerate is 9*baseRate and gets in 9/10 blocks = 90%,

0 commit comments

Comments
 (0)