mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-06 03:02:37 +02:00
test: speed up feature_dbcrash
This commit is contained in:
@@ -196,12 +196,12 @@ class ChainstateWriteCrashTest(BitcoinTestFramework):
|
|||||||
# Sanity check -- if we chose inputs that are too small, skip
|
# Sanity check -- if we chose inputs that are too small, skip
|
||||||
continue
|
continue
|
||||||
|
|
||||||
self.wallet.send_self_transfer_multi(
|
tx = self.wallet.create_self_transfer_multi(
|
||||||
from_node=node,
|
|
||||||
utxos_to_spend=utxos_to_spend,
|
utxos_to_spend=utxos_to_spend,
|
||||||
num_outputs=3,
|
num_outputs=3,
|
||||||
fee_per_output=FEE // 3,
|
fee_per_output=FEE // 3,
|
||||||
)
|
)
|
||||||
|
node.sendrawtransaction(hexstring=tx["hex"], maxfeerate=0)
|
||||||
num_transactions += 1
|
num_transactions += 1
|
||||||
|
|
||||||
def run_test(self):
|
def run_test(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user