aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_fee_estimation.py
diff options
context:
space:
mode:
authorMacroFake <falke.marco@gmail.com>2022-06-23 10:50:29 +0200
committerMacroFake <falke.marco@gmail.com>2022-06-27 11:07:34 +0200
commitfa04ff61b6c209e48bce7d581466356e84617637 (patch)
treeff730027327ecf03b1ff363bbf3ed2630d9a9257 /test/functional/feature_fee_estimation.py
parentfa34e44e98d3840fa79533fec512c80e9e1d3ea1 (diff)
downloadbitcoin-fa04ff61b6c209e48bce7d581466356e84617637.tar.xz
test: Return new_utxos from create_self_transfer_multi in MiniWallet
Diffstat (limited to 'test/functional/feature_fee_estimation.py')
-rwxr-xr-xtest/functional/feature_fee_estimation.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/functional/feature_fee_estimation.py b/test/functional/feature_fee_estimation.py
index ca21dd8a73..b0cbcf4edf 100755
--- a/test/functional/feature_fee_estimation.py
+++ b/test/functional/feature_fee_estimation.py
@@ -52,7 +52,8 @@ def small_txpuzzle_randfee(
raise RuntimeError(f"Insufficient funds: need {amount + fee}, have {total_in}")
tx = wallet.create_self_transfer_multi(
utxos_to_spend=utxos_to_spend,
- fee_per_output=0)
+ fee_per_output=0,
+ )["tx"]
tx.vout[0].nValue = int((total_in - amount - fee) * COIN)
tx.vout.append(deepcopy(tx.vout[0]))
tx.vout[1].nValue = int(amount * COIN)