BlobQuarantine.hasBlobs: fix for loop bound (#4876)

This commit is contained in:
henridf 2023-04-28 21:27:28 +02:00 committed by GitHub
parent cf202fb928
commit a32054cdd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ func hasBlobs*(quarantine: BlobQuarantine, blck: deneb.SignedBeaconBlock):
let idxs = quarantine.blobIndices(blck.root)
if len(blck.message.body.blob_kzg_commitments) != len(idxs):
return false
for i in 0..len(idxs):
for i in 0..<len(idxs):
if idxs[i] != uint64(i):
return false
true