aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_dbcrash.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_dbcrash.py
parentfa34e44e98d3840fa79533fec512c80e9e1d3ea1 (diff)
downloadbitcoin-fa04ff61b6c209e48bce7d581466356e84617637.tar.xz
test: Return new_utxos from create_self_transfer_multi in MiniWallet
Diffstat (limited to 'test/functional/feature_dbcrash.py')
-rwxr-xr-xtest/functional/feature_dbcrash.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/functional/feature_dbcrash.py b/test/functional/feature_dbcrash.py
index a3a5e9e27d..62e9bec663 100755
--- a/test/functional/feature_dbcrash.py
+++ b/test/functional/feature_dbcrash.py
@@ -192,14 +192,12 @@ class ChainstateWriteCrashTest(BitcoinTestFramework):
# Sanity check -- if we chose inputs that are too small, skip
continue
- tx = self.wallet.create_self_transfer_multi(
+ self.wallet.send_self_transfer_multi(
from_node=node,
utxos_to_spend=utxos_to_spend,
num_outputs=3,
- fee_per_output=FEE // 3)
-
- # Send the transaction to get into the mempool (skip fee-checks to run faster)
- node.sendrawtransaction(hexstring=tx.serialize().hex(), maxfeerate=0)
+ fee_per_output=FEE // 3,
+ )
num_transactions += 1
def run_test(self):