Skip to content

Commit

Permalink
test: fix interface_zmq.py for new block connection behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
sdaftuar committed May 8, 2024
1 parent 8c4ec6c commit f3482ed
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/functional/interface_zmq.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,14 +446,13 @@ def test_sequence(self):
mempool_seq += 1
assert_equal((bump_txid, "A", mempool_seq), seq.receive_sequence())
mempool_seq += 1
mempool_seq += len(more_tx)
# Conflict announced first, then block
assert_equal((bump_txid, "R", mempool_seq), seq.receive_sequence())
mempool_seq += 1
assert_equal((tip, "C", None), seq.receive_sequence())
mempool_seq += len(more_tx)
mempool_seq += 1
# Last tx
assert_equal((orig_txid_2, "A", mempool_seq), seq.receive_sequence())
mempool_seq += 1
self.generatetoaddress(self.nodes[0], 1, ADDRESS_BCRT1_UNSPENDABLE)
self.sync_all() # want to make sure we didn't break "consensus" for other tests

Expand Down

0 comments on commit f3482ed

Please sign in to comment.