mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-03 09:56:38 -05:00
test: Fix intermittent issue in p2p_feefilter
This commit is contained in:
parent
9e8d2bd076
commit
fa3af2c0d3
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue