aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_rbf.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_rbf.py
parentfa34e44e98d3840fa79533fec512c80e9e1d3ea1 (diff)
downloadbitcoin-fa04ff61b6c209e48bce7d581466356e84617637.tar.xz
test: Return new_utxos from create_self_transfer_multi in MiniWallet
Diffstat (limited to 'test/functional/feature_rbf.py')
-rwxr-xr-xtest/functional/feature_rbf.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/functional/feature_rbf.py b/test/functional/feature_rbf.py
index 712897e5e7..91dc222bab 100755
--- a/test/functional/feature_rbf.py
+++ b/test/functional/feature_rbf.py
@@ -472,11 +472,10 @@ class ReplaceByFeeTest(BitcoinTestFramework):
# Now attempt to submit a tx that double-spends all the root tx inputs, which
# would invalidate `num_txs_invalidated` transactions.
- double_tx = wallet.create_self_transfer_multi(
+ tx_hex = wallet.create_self_transfer_multi(
utxos_to_spend=root_utxos,
fee_per_output=10_000_000, # absurdly high feerate
- )
- tx_hex = double_tx.serialize().hex()
+ )["hex"]
if failure_expected:
assert_raises_rpc_error(