Skip to content

Commit

Permalink
Merge #14632: Tests: Fix a comment
Browse files Browse the repository at this point in the history
Summary:
086fc83571 Tests: Fix a comment (fridokus)

Pull request description:

  Fix a comment that was false

Tree-SHA512: 945aa38229545e026e18c3abf53a4fbe6ec36413ce690fff7a1dd89b6e102d2b574524092e0ddf06cace82f3c040c59221b9b942be1203525814d2fbd50aaa0b

Backport of Core [[bitcoin/bitcoin#14632 | PR14632]]

Test Plan: `test_runner.py mempool_resurrect` for sanity

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D5900
  • Loading branch information
MarcoFalke authored and abc-bot committed Jun 16, 2020
1 parent 31eb6eb commit a05bd47
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/functional/mempool_resurrect.py
Expand Up @@ -51,12 +51,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:
Expand Down

0 comments on commit a05bd47

Please sign in to comment.