Skip to content

Commit

Permalink
test: wait for fee estimator to catch up before estimating fees
Browse files Browse the repository at this point in the history
  • Loading branch information
ismaelsadeeq committed Dec 6, 2023
1 parent 6d57909 commit 562664d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/test/policyestimator_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ BOOST_AUTO_TEST_CASE(BlockPolicyEstimates)
}
}

// Wait for fee estimator to catch up
SyncWithValidationInterfaceQueue();

std::vector<CAmount> origFeeEst;
// Highest feerate is 10*baseRate and gets in all blocks,
// second highest feerate is 9*baseRate and gets in 9/10 blocks = 90%,
Expand Down

0 comments on commit 562664d

Please sign in to comment.