aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2018-11-05 10:12:37 -0500
committerMarcoFalke <falke.marco@gmail.com>2018-11-05 10:12:52 -0500
commit6b8d0a2164b30eab76e7bccb1ffb056a10fba406 (patch)
treed30c58e08a8d3b0576a66be6e0f73c5faa85bf4c
parent73a8408bc3e4806fc102268a78bf52bd3f03c64b (diff)
parent086fc835718555bb332a807fe5794cb6cb4d1fef (diff)
downloadbitcoin-6b8d0a2164b30eab76e7bccb1ffb056a10fba406.tar.xz
Merge #14632: Tests: Fix a comment
086fc83571 Tests: Fix a comment (fridokus) Pull request description: Fix a comment that was false Tree-SHA512: 945aa38229545e026e18c3abf53a4fbe6ec36413ce690fff7a1dd89b6e102d2b574524092e0ddf06cace82f3c040c59221b9b942be1203525814d2fbd50aaa0b
-rwxr-xr-xtest/functional/mempool_resurrect.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/functional/mempool_resurrect.py b/test/functional/mempool_resurrect.py
index d035ca907a..845beb551e 100755
--- a/test/functional/mempool_resurrect.py
+++ b/test/functional/mempool_resurrect.py
@@ -47,12 +47,11 @@ class MempoolCoinbaseTest(BitcoinTestFramework):
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)