Skip to content

Commit 38516f9

Browse files
committed
Fix input size assertion in wallet_bumpfee.py
1 parent 693e400 commit 38516f9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/functional/wallet_bumpfee.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -211,15 +211,15 @@ def test_small_output_with_feerate_succeeds(rbf_node, dest_address):
211211
# Make sure additional inputs exist
212212
rbf_node.generatetoaddress(101, rbf_node.getnewaddress())
213213
rbfid = spend_one_input(rbf_node, dest_address)
214-
original_input_list = rbf_node.getrawtransaction(rbfid, 1)["vin"]
215-
assert_equal(len(original_input_list), 1)
216-
original_txin = original_input_list[0]
214+
input_list = rbf_node.getrawtransaction(rbfid, 1)["vin"]
215+
assert_equal(len(input_list), 1)
216+
original_txin = input_list[0]
217217
# Keep bumping until we out-spend change output
218218
tx_fee = 0
219219
while tx_fee < Decimal("0.0005"):
220-
new_input_list = rbf_node.getrawtransaction(rbfid, 1)["vin"]
221-
new_item = list(new_input_list)[0]
222-
assert_equal(len(original_input_list), 1)
220+
input_list = rbf_node.getrawtransaction(rbfid, 1)["vin"]
221+
new_item = list(input_list)[0]
222+
assert_equal(len(input_list), 1)
223223
assert_equal(original_txin["txid"], new_item["txid"])
224224
assert_equal(original_txin["vout"], new_item["vout"])
225225
rbfid_new_details = rbf_node.bumpfee(rbfid)

0 commit comments

Comments
 (0)