aboutsummaryrefslogtreecommitdiff
path: root/test/functional/mempool_resurrect.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2018-08-09 13:27:45 -0400
committerMarcoFalke <falke.marco@gmail.com>2018-08-09 13:25:36 -0400
commitcf9ed307e6efd2b63d54c74ca8bdd236028fd9dc (patch)
treee4654d7097141480a4d3f769e8edc64315d22062 /test/functional/mempool_resurrect.py
parentf66e1c793eda7a6143fd03400c98512a9b6f00c7 (diff)
qa: blocktools enforce named args for amount
Diffstat (limited to 'test/functional/mempool_resurrect.py')
-rwxr-xr-xtest/functional/mempool_resurrect.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/functional/mempool_resurrect.py b/test/functional/mempool_resurrect.py
index 3625e011eb..c773c56f1b 100755
--- a/test/functional/mempool_resurrect.py
+++ b/test/functional/mempool_resurrect.py
@@ -26,16 +26,16 @@ class MempoolCoinbaseTest(BitcoinTestFramework):
# Mine a new block
# ... make sure all the transactions are confirmed again.
- b = [ self.nodes[0].getblockhash(n) for n in range(1, 4) ]
- coinbase_txids = [ self.nodes[0].getblock(h)['tx'][0] for h in b ]
- spends1_raw = [ create_raw_transaction(self.nodes[0], txid, node0_address, 49.99) for txid in coinbase_txids ]
- spends1_id = [ self.nodes[0].sendrawtransaction(tx) for tx in spends1_raw ]
+ b = [self.nodes[0].getblockhash(n) for n in range(1, 4)]
+ coinbase_txids = [self.nodes[0].getblock(h)['tx'][0] for h in b]
+ spends1_raw = [create_raw_transaction(self.nodes[0], txid, node0_address, amount=49.99) for txid in coinbase_txids]
+ spends1_id = [self.nodes[0].sendrawtransaction(tx) for tx in spends1_raw]
blocks = []
blocks.extend(self.nodes[0].generate(1))
- spends2_raw = [ create_raw_transaction(self.nodes[0], txid, node0_address, 49.98) for txid in spends1_id ]
- spends2_id = [ self.nodes[0].sendrawtransaction(tx) for tx in spends2_raw ]
+ spends2_raw = [create_raw_transaction(self.nodes[0], txid, node0_address, amount=49.98) for txid in spends1_id]
+ spends2_id = [self.nodes[0].sendrawtransaction(tx) for tx in spends2_raw]
blocks.extend(self.nodes[0].generate(1))