97 | + # Generate transaction on node 0, sync mempools, and check for
98 | + # notification on node 1.
99 | + tx1 = self.nodes[0].sendtoaddress(address=ADDRESS_BCRT1_UNSPENDABLE, amount=1, replaceable=True)
100 | + self.sync_mempools()
101 | + assert_equal(tx1 in self.nodes[0].getrawmempool(), True)
102 | + assert_equal(tx1 in self.nodes[1].getrawmempool(), True)
Are those two needed? sync_mempools should already do the assert
re: #18878 (review)
Are those two needed? sync_mempools should already do the assert
Thanks, replaced with a more compact mempool check (seems good for clarity & debugging to verify the transaction reached the mempool)