test: Add missing sync_mempools() to fill_mempool()

Also disable the function, when it is not needed.
This commit is contained in:
MarcoFalke committed 2024-09-24 10:13:21 +02:00
1 parent fa48be6f02
commit faf801515f
4 files changed
+11 -13

No files matched your search

+1 -1
View File
@@ -250,7 +250,7 @@ class TxDownloadTest(BitcoinTestFramework):
def test_rejects_filter_reset(self):
self.log.info('Check that rejected tx is not requested again')
node = self.nodes[0]
fill_mempool(self, node)
fill_mempool(self, node, tx_sync_fun=self.no_op)
self.wallet.rescan_utxos()
mempoolminfee = node.getmempoolinfo()['mempoolminfee']
peer = node.add_p2p_connection(TestP2PConn())