mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-04 17:52:25 +01:00
test: Return new_utxos from create_self_transfer_multi in MiniWallet
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user