Skip to content

Commit fa88c04

Browse files
author
MarcoFalke
committed
test: Fix intermittent feature_rbf issue
1 parent c0b6c40 commit fa88c04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/functional/feature_rbf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -392,11 +392,11 @@ def test_too_many_replacements_with_default_mempool_params(self):
392392
enough transactions off of each root UTXO to exceed the MAX_REPLACEMENT_LIMIT.
393393
Then create a conflicting RBF replacement transaction.
394394
"""
395-
normal_node = self.nodes[1]
396-
wallet = MiniWallet(normal_node)
397395
# Clear mempools to avoid cross-node sync failure.
398396
for node in self.nodes:
399397
self.generate(node, 1)
398+
normal_node = self.nodes[1]
399+
wallet = MiniWallet(normal_node)
400400

401401
# This has to be chosen so that the total number of transactions can exceed
402402
# MAX_REPLACEMENT_LIMIT without having any one tx graph run into the descendant

0 commit comments

Comments
 (0)