Skip to content

Commit a1576ed

Browse files
committed
test: add missing sync to feature_fee_estimation.py
Fixes a race between node 1 catching up with the chain and mining a new block in the sanity_check_rbf_estimates subtest.
1 parent fc642c3 commit a1576ed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/functional/feature_fee_estimation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,7 @@ def clear_estimates(self):
398398
self.start_node(0)
399399
self.connect_nodes(0, 1)
400400
self.connect_nodes(0, 2)
401+
self.sync_blocks()
401402
assert_equal(self.nodes[0].estimatesmartfee(1)["errors"], ["Insufficient data or no feerate found"])
402403

403404
def broadcast_and_mine(self, broadcaster, miner, feerate, count):

0 commit comments

Comments
 (0)