test: Add missing sync_mempools() to fill_mempool()

Also disable the function, when it is not needed.
This commit is contained in:
MarcoFalke
2024-09-23 09:45:41 +02:00
parent fa48be6f02
commit faf801515f
4 changed files with 11 additions and 13 deletions

View File

@@ -554,7 +554,7 @@ class PackageRBFTest(BitcoinTestFramework):
self.generate(node, 1)
def test_child_conflicts_parent_mempool_ancestor(self):
fill_mempool(self, self.nodes[0])
fill_mempool(self, self.nodes[0], tx_sync_fun=self.no_op)
# Reset coins since we filled the mempool with current coins
self.coins = self.wallet.get_utxos(mark_as_spent=False, confirmed_only=True)