Skip to content

Commit fea8821

Browse files
knstUdjinM6
andauthored
Update test/functional/feature_asset_locks.py
Co-authored-by: UdjinM6 <UdjinM6@users.noreply.github.com>
1 parent 2207f6d commit fea8821

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

test/functional/feature_asset_locks.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -646,11 +646,8 @@ def test_withdrawal_fork(self, node_wallet, pubkey):
646646
assert softfork_active(node_wallet, 'withdrawals')
647647

648648
index = 501
649-
attempts = 0
650-
while attempts < 10
651-
attempts = attempts + 1
652-
653-
self.log.info(f"Generating new Asset Unlock tx, index={index}, attempt={attempts}...")
649+
while index < 511:
650+
self.log.info(f"Generating new Asset Unlock tx, index={index}...")
654651
asset_unlock_tx = self.create_assetunlock(index, COIN, pubkey)
655652
asset_unlock_tx_payload = CAssetUnlockTx()
656653
asset_unlock_tx_payload.deserialize(BytesIO(asset_unlock_tx.vExtraPayload))

0 commit comments

Comments
 (0)