diff options
author | MacroFake <falke.marco@gmail.com> | 2022-06-23 10:50:29 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-06-27 11:07:34 +0200 |
commit | fa04ff61b6c209e48bce7d581466356e84617637 (patch) | |
tree | ff730027327ecf03b1ff363bbf3ed2630d9a9257 /test/functional/feature_fee_estimation.py | |
parent | fa34e44e98d3840fa79533fec512c80e9e1d3ea1 (diff) |
test: Return new_utxos from create_self_transfer_multi in MiniWallet
Diffstat (limited to 'test/functional/feature_fee_estimation.py')
-rwxr-xr-x | test/functional/feature_fee_estimation.py | 3 |
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) |