Port PR93 from @denioD
This commit is contained in:
@@ -54,6 +54,7 @@ class MempoolCoinbaseTest(BitcoinTestFramework):
|
||||
spends2_id = [ self.nodes[0].sendrawtransaction(tx) for tx in spends2_raw ]
|
||||
|
||||
blocks.extend(self.nodes[0].generate(1))
|
||||
self.sync_all()
|
||||
|
||||
# mempool should be empty, all txns confirmed
|
||||
assert_equal(set(self.nodes[0].getrawmempool()), set())
|
||||
@@ -74,6 +75,8 @@ class MempoolCoinbaseTest(BitcoinTestFramework):
|
||||
|
||||
# Generate another block, they should all get mined
|
||||
self.nodes[0].generate(1)
|
||||
self.sync_all()
|
||||
|
||||
# mempool should be empty, all txns confirmed
|
||||
assert_equal(set(self.nodes[0].getrawmempool()), set())
|
||||
for txid in spends1_id+spends2_id:
|
||||
|
||||
Reference in New Issue
Block a user