Skip to content

Commit

Permalink
Tests: Fix a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
raxomukus committed Nov 1, 2018
1 parent f69d922 commit 086fc83
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/functional/mempool_resurrect.py
Expand Up @@ -47,12 +47,11 @@ def run_test(self):
tx = self.nodes[0].gettransaction(txid)
assert(tx["confirmations"] > 0)

# Use invalidateblock to re-org back; all transactions should
# end up unconfirmed and back in the mempool
# Use invalidateblock to re-org back
for node in self.nodes:
node.invalidateblock(blocks[0])

# mempool should be empty, all txns confirmed
# All txns should be back in mempool with 0 confirmations
assert_equal(set(self.nodes[0].getrawmempool()), set(spends1_id+spends2_id))
for txid in spends1_id+spends2_id:
tx = self.nodes[0].gettransaction(txid)
Expand Down

0 comments on commit 086fc83

Please sign in to comment.