Skip to content

Commit 0b94e49

Browse files
committed
[qa] Rename python input variable to tx_input
input() is actually the name of a python built in function
1 parent 1dfd64f commit 0b94e49

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/functional/bumpfee.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,11 +265,11 @@ def test_locked_wallet_fails(rbf_node, dest_address):
265265

266266

267267
def spend_one_input(node, dest_address):
268-
input = dict(
268+
tx_input = dict(
269269
sequence=BIP125_SEQUENCE_NUMBER, **next(u for u in node.listunspent() if u["amount"] == Decimal("0.00100000")))
270270
rawtx = node.createrawtransaction(
271-
[input], {dest_address: Decimal("0.00050000"),
272-
node.getrawchangeaddress(): Decimal("0.00049000")})
271+
[tx_input], {dest_address: Decimal("0.00050000"),
272+
node.getrawchangeaddress(): Decimal("0.00049000")})
273273
signedtx = node.signrawtransaction(rawtx)
274274
txid = node.sendrawtransaction(signedtx["hex"])
275275
return txid

0 commit comments

Comments
 (0)