fix: limit amount of attempts for test test_withdrawal_fork

This commit is contained in:
Konstantin Akimov 2024-10-17 03:03:09 +07:00
parent ecd0a96f63
commit d690309513
No known key found for this signature in database
GPG Key ID: 2176C4A5D01EA524

View File

@ -646,7 +646,7 @@ class AssetLocksTest(DashTestFramework):
assert softfork_active(node_wallet, 'withdrawals') assert softfork_active(node_wallet, 'withdrawals')
index = 501 index = 501
while True: while index < 511:
self.log.info(f"Generating new Asset Unlock tx, index={index}...") self.log.info(f"Generating new Asset Unlock tx, index={index}...")
asset_unlock_tx = self.create_assetunlock(index, COIN, pubkey) asset_unlock_tx = self.create_assetunlock(index, COIN, pubkey)
asset_unlock_tx_payload = CAssetUnlockTx() asset_unlock_tx_payload = CAssetUnlockTx()