Skip to content

Commit 41ee104

Browse files
committed
test
1 parent b0965d9 commit 41ee104

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

beacon_chain/sync/sync_manager.nim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,14 +248,14 @@ func groupBlobs*[T](req: SyncRequest[T],
248248
for block_idx, blck in blocks:
249249
withBlck(blck[]):
250250
when consensusFork >= ConsensusFork.Deneb:
251-
template commits: untyped = forkyBlck.message.body.blob_kzg_commitments
252-
if commits.len == 0:
251+
template kzgs: untyped = forkyBlck.message.body.blob_kzg_commitments
252+
if kzgs.len == 0:
253253
continue
254254
# Clients MUST include all blob sidecars of each block from which they include blob sidecars.
255255
# The following blob sidecars, where they exist, MUST be sent in consecutive (slot, index) order.
256256
# https://github.com/ethereum/consensus-specs/blob/v1.4.0-beta.5/specs/deneb/p2p-interface.md#blobsidecarsbyrange-v1
257257
let header = forkyBlck.toSignedBeaconBlockHeader()
258-
for blob_idx, kzg_commitment in commits:
258+
for blob_idx, kzg_commitment in kzgs:
259259
if blob_cursor >= blobs.len:
260260
return err("BlobSidecar: response too short")
261261
let blob_sidecar = blobs[blob_cursor]

0 commit comments

Comments
 (0)