test: Add missing sync_mempools() to fill_mempool()

Also disable the function, when it is not needed.

Github-Pull: #30948
Rebased-From: faf801515f
This commit is contained in:
MarcoFalke
2024-09-23 09:45:41 +02:00
committed by glozow
parent a60281526b
commit f7dde40c70
4 changed files with 11 additions and 13 deletions

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())