aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMartin Zumsande <mzumsande@gmail.com>2024-10-01 17:56:29 -0400
committerMartin Zumsande <mzumsande@gmail.com>2024-10-01 18:10:31 -0400
commita1576edab356053c4c736691e4950b58e9a14f76 (patch)
tree551e2eddce9da2ffd6c733be6734f4e3ca4b7a2a /test
parentfc642c33ef28829eda0119a0fe39fd9bc4b84051 (diff)
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.
Diffstat (limited to 'test')
-rwxr-xr-xtest/functional/feature_fee_estimation.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/feature_fee_estimation.py b/test/functional/feature_fee_estimation.py
index 83627ff5c2..974d8268a2 100755
--- a/test/functional/feature_fee_estimation.py
+++ b/test/functional/feature_fee_estimation.py
@@ -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):