mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-05-22 18:05:19 +02:00
test: Fix intermittent issue in p2p_feefilter
This commit is contained in:
parent
9e8d2bd076
commit
fa3af2c0d3
@ -111,6 +111,7 @@ class FeeFilterTest(BitcoinTestFramework):
|
|||||||
txids = [miniwallet.send_self_transfer(fee_rate=Decimal('0.00020000'), from_node=node0)['wtxid'] for _ in range(3)]
|
txids = [miniwallet.send_self_transfer(fee_rate=Decimal('0.00020000'), from_node=node0)['wtxid'] for _ in range(3)]
|
||||||
conn.wait_for_invs_to_match(txids)
|
conn.wait_for_invs_to_match(txids)
|
||||||
conn.clear_invs()
|
conn.clear_invs()
|
||||||
|
self.sync_mempools() # must be sure node 1 has received all txs
|
||||||
|
|
||||||
self.log.info("Remove fee filter and check txs are received again")
|
self.log.info("Remove fee filter and check txs are received again")
|
||||||
conn.send_and_ping(msg_feefilter(0))
|
conn.send_and_ping(msg_feefilter(0))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user