mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-22 12:30:08 +00:00
BlobQuarantine.hasBlobs: fix for loop bound (#4876)
This commit is contained in:
parent
cf202fb928
commit
a32054cdd1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user