489@@ -490,12 +490,6 @@ def test_mempool_sync(self):
490 mempool_view = set(mempool_snapshot["txids"])
491 get_raw_seq = mempool_snapshot["mempool_sequence"]
492 assert_equal(get_raw_seq, 6)
493- # Snapshot may be too old compared to zmq message we read off latest
494- while zmq_mem_seq >= get_raw_seq:
495- sleep(2)
496- mempool_snapshot = self.nodes[0].getrawmempool(mempool_sequence=True)
497- mempool_view = set(mempool_snapshot["txids"])
498- get_raw_seq = mempool_snapshot["mempool_sequence"]
Would it make sense to assert that this is never true anymore?
0 assert(zmq_mem_seq < get_raw_seq)
Added as belt and suspender