mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-19 05:12:03 +02:00
test: Fix intermittent feature_rbf issue
This commit is contained in:
parent
c0b6c40bb0
commit
fa88c043d1
@ -392,11 +392,11 @@ class ReplaceByFeeTest(BitcoinTestFramework):
|
|||||||
enough transactions off of each root UTXO to exceed the MAX_REPLACEMENT_LIMIT.
|
enough transactions off of each root UTXO to exceed the MAX_REPLACEMENT_LIMIT.
|
||||||
Then create a conflicting RBF replacement transaction.
|
Then create a conflicting RBF replacement transaction.
|
||||||
"""
|
"""
|
||||||
normal_node = self.nodes[1]
|
|
||||||
wallet = MiniWallet(normal_node)
|
|
||||||
# Clear mempools to avoid cross-node sync failure.
|
# Clear mempools to avoid cross-node sync failure.
|
||||||
for node in self.nodes:
|
for node in self.nodes:
|
||||||
self.generate(node, 1)
|
self.generate(node, 1)
|
||||||
|
normal_node = self.nodes[1]
|
||||||
|
wallet = MiniWallet(normal_node)
|
||||||
|
|
||||||
# This has to be chosen so that the total number of transactions can exceed
|
# This has to be chosen so that the total number of transactions can exceed
|
||||||
# MAX_REPLACEMENT_LIMIT without having any one tx graph run into the descendant
|
# MAX_REPLACEMENT_LIMIT without having any one tx graph run into the descendant
|
||||||
|
Loading…
x
Reference in New Issue
Block a user