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.

Github-Pull: #31016
Rebased-From: a1576edab3
This commit is contained in:
Martin Zumsande 2024-10-01 17:56:29 -04:00 committed by fanquake
parent f072721181
commit b917334208
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -398,6 +398,7 @@ class EstimateFeeTest(BitcoinTestFramework):
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):