mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-10-10 19:43:13 +02:00
test: Remove from_node from create_self_transfer* MiniWallet helpers
The from_node argument is no longer used as of commit
a55606c3bd
This commit is contained in:
@@ -51,7 +51,6 @@ def small_txpuzzle_randfee(
|
||||
if total_in <= amount + fee:
|
||||
raise RuntimeError(f"Insufficient funds: need {amount + fee}, have {total_in}")
|
||||
tx = wallet.create_self_transfer_multi(
|
||||
from_node=from_node,
|
||||
utxos_to_spend=utxos_to_spend,
|
||||
fee_per_output=0)
|
||||
tx.vout[0].nValue = int((total_in - amount - fee) * COIN)
|
||||
|
Reference in New Issue
Block a user