diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-08-09 13:27:45 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-08-09 13:25:36 -0400 |
commit | cf9ed307e6efd2b63d54c74ca8bdd236028fd9dc (patch) | |
tree | e4654d7097141480a4d3f769e8edc64315d22062 /test/functional/mempool_spend_coinbase.py | |
parent | f66e1c793eda7a6143fd03400c98512a9b6f00c7 (diff) |
qa: blocktools enforce named args for amount
Diffstat (limited to 'test/functional/mempool_spend_coinbase.py')
-rwxr-xr-x | test/functional/mempool_spend_coinbase.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/mempool_spend_coinbase.py b/test/functional/mempool_spend_coinbase.py index 74a3634a6c..4811c98e90 100755 --- a/test/functional/mempool_spend_coinbase.py +++ b/test/functional/mempool_spend_coinbase.py @@ -30,9 +30,9 @@ class MempoolSpendCoinbaseTest(BitcoinTestFramework): # Coinbase at height chain_height-100+1 ok in mempool, should # get mined. Coinbase at height chain_height-100+2 is # is too immature to spend. - b = [ self.nodes[0].getblockhash(n) for n in range(101, 103) ] - coinbase_txids = [ self.nodes[0].getblock(h)['tx'][0] for h in b ] - spends_raw = [ create_raw_transaction(self.nodes[0], txid, node0_address, 49.99) for txid in coinbase_txids ] + b = [self.nodes[0].getblockhash(n) for n in range(101, 103)] + coinbase_txids = [self.nodes[0].getblock(h)['tx'][0] for h in b] + spends_raw = [create_raw_transaction(self.nodes[0], txid, node0_address, amount=49.99) for txid in coinbase_txids] spend_101_id = self.nodes[0].sendrawtransaction(spends_raw[0]) |