Skip to content

Commit

Permalink
test: add missing sync to feature_fee_estimation.py
Browse files Browse the repository at this point in the history
Fixes a race between node 1 catching up with the chain and mining a
new block in the sanity_check_rbf_estimates subtest.
  • Loading branch information
mzumsande committed Oct 1, 2024
1 parent fc642c3 commit a1576ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/functional/feature_fee_estimation.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@ def clear_estimates(self):
self.start_node(0)
self.connect_nodes(0, 1)
self.connect_nodes(0, 2)
self.sync_blocks()
assert_equal(self.nodes[0].estimatesmartfee(1)["errors"], ["Insufficient data or no feerate found"])

def broadcast_and_mine(self, broadcaster, miner, feerate, count):
Expand Down

0 comments on commit a1576ed

Please sign in to comment.