changeset 27031:3e8a8fcf4161

[qa] Rename python input variable to tx_input input() is actually the name of a python built in function
author Russell Yanofsky <russ@yanofsky.org>
date Thu, 16 Mar 2017 10:49:42 -0400
parents 41745021903f
children 3518a210db14
files test/functional/bumpfee.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/test/functional/bumpfee.py	Mon Feb 06 18:29:55 2017 -0500
+++ b/test/functional/bumpfee.py	Thu Mar 16 10:49:42 2017 -0400
@@ -265,11 +265,11 @@
 
 
 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