Skip to content

Commit 6b8d0a2

Browse files
author
MarcoFalke
committed
Merge bitcoin#14632: Tests: Fix a comment
086fc83 Tests: Fix a comment (fridokus) Pull request description: Fix a comment that was false Tree-SHA512: 945aa38229545e026e18c3abf53a4fbe6ec36413ce690fff7a1dd89b6e102d2b574524092e0ddf06cace82f3c040c59221b9b942be1203525814d2fbd50aaa0b
2 parents 73a8408 + 086fc83 commit 6b8d0a2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/functional/mempool_resurrect.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,11 @@ def run_test(self):
4747
tx = self.nodes[0].gettransaction(txid)
4848
assert(tx["confirmations"] > 0)
4949

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

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

0 commit comments

Comments
 (0)