test: Return new_utxos from create_self_transfer_multi in MiniWallet

This commit is contained in:
MacroFake committed 2022-06-27 11:07:34 +02:00
1 parent fa34e44e98
commit fa04ff61b6
4 files changed
+22 -23

No files matched your search

+3 -5
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):