aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorfridokus <oskar.fridell@gmail.com>2018-11-01 16:11:29 +0100
committerMarcoFalke <falke.marco@gmail.com>2018-11-28 15:35:05 -0500
commit96f15e8bb3ca92d61030074c5499d07d8f89a92c (patch)
treeac22425e68d6d92cad6590f31f031a8c391b9954 /test
parent60f7a97930ccec01d008036cb98f1304eeca7525 (diff)
downloadbitcoin-96f15e8bb3ca92d61030074c5499d07d8f89a92c.tar.xz
Tests: Fix a comment
Github-Pull: #14632 Rebased-From: 086fc835718555bb332a807fe5794cb6cb4d1fef
Diffstat (limited to 'test')
-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)