test: Return new_utxos from create_self_transfer_multi in MiniWallet

This commit is contained in:
MacroFake
2022-06-23 10:50:29 +02:00
parent fa34e44e98
commit fa04ff61b6
4 changed files with 22 additions and 23 deletions

View File

@@ -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):