From 411b439c1e51a588090aea8c06a85437df745632 Mon Sep 17 00:00:00 2001 From: Agnish Ghosh Date: Fri, 11 Oct 2024 03:34:18 +0530 Subject: [PATCH] fix len --- beacon_chain/spec/eip7594_helpers.nim | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/beacon_chain/spec/eip7594_helpers.nim b/beacon_chain/spec/eip7594_helpers.nim index 88e44aa1a..41aa4cfcb 100644 --- a/beacon_chain/spec/eip7594_helpers.nim +++ b/beacon_chain/spec/eip7594_helpers.nim @@ -191,10 +191,10 @@ proc recover_cells_and_proofs*( return err ("DataColumns do not have the same length") var - recovered_cps = newSeq[CellsAndProofs] + recovered_cps: seq[CellsAndProofs] recovered_cps.setLen(blobCount) - for blobIdx in 0 ..< blobCount: + for blobIdx in 0..