aboutsummaryrefslogtreecommitdiff
path: root/test/functional/bumpfee.py
diff options
context:
space:
mode:
authorRussell Yanofsky <russ@yanofsky.org>2017-03-16 10:49:42 -0400
committerRussell Yanofsky <russ@yanofsky.org>2017-03-21 06:46:55 -0400
commit0b94e49831e8216f5ece840dd9ad410426237643 (patch)
tree119961a4cee0a652fc4953bd8ce535dacca44bc4 /test/functional/bumpfee.py
parent1dfd64fadc09ab065cbd8b8c8e67910a999ba039 (diff)
[qa] Rename python input variable to tx_input
input() is actually the name of a python built in function
Diffstat (limited to 'test/functional/bumpfee.py')
-rwxr-xr-xtest/functional/bumpfee.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/bumpfee.py b/test/functional/bumpfee.py
index 9904c9aed6..9628d1a506 100755
--- a/test/functional/bumpfee.py
+++ b/test/functional/bumpfee.py
@@ -265,11 +265,11 @@ def test_locked_wallet_fails(rbf_node, dest_address):
def spend_one_input(node, dest_address):
- input = dict(
+ tx_input = dict(
sequence=BIP125_SEQUENCE_NUMBER, **next(u for u in node.listunspent() if u["amount"] == Decimal("0.00100000")))
rawtx = node.createrawtransaction(
- [input], {dest_address: Decimal("0.00050000"),
- node.getrawchangeaddress(): Decimal("0.00049000")})
+ [tx_input], {dest_address: Decimal("0.00050000"),
+ node.getrawchangeaddress(): Decimal("0.00049000")})
signedtx = node.signrawtransaction(rawtx)
txid = node.sendrawtransaction(signedtx["hex"])
return txid