From a1576edab356053c4c736691e4950b58e9a14f76 Mon Sep 17 00:00:00 2001 From: Martin Zumsande Date: Tue, 1 Oct 2024 17:56:29 -0400 Subject: [PATCH] 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. --- test/functional/feature_fee_estimation.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/functional/feature_fee_estimation.py b/test/functional/feature_fee_estimation.py index 83627ff5c2d20..974d8268a2a7f 100755 --- a/test/functional/feature_fee_estimation.py +++ b/test/functional/feature_fee_estimation.py @@ -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):