mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-26 05:48:20 +01:00
qa: remove a redundant condition in fee estimation test
Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
This commit is contained in:
@@ -67,7 +67,6 @@ def small_txpuzzle_randfee(from_node, conflist, unconflist, amount, min_fee, fee
|
|||||||
t = conflist.pop(0)
|
t = conflist.pop(0)
|
||||||
total_in += t["amount"]
|
total_in += t["amount"]
|
||||||
tx.vin.append(CTxIn(COutPoint(int(t["txid"], 16), t["vout"]), b""))
|
tx.vin.append(CTxIn(COutPoint(int(t["txid"], 16), t["vout"]), b""))
|
||||||
if total_in <= amount + fee:
|
|
||||||
while total_in <= (amount + fee) and len(unconflist) > 0:
|
while total_in <= (amount + fee) and len(unconflist) > 0:
|
||||||
t = unconflist.pop(0)
|
t = unconflist.pop(0)
|
||||||
total_in += t["amount"]
|
total_in += t["amount"]
|
||||||
|
|||||||
Reference in New Issue
Block a user