Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
tsachiherman committed Jan 22, 2025
1 parent 9ffb823 commit b40332d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions x/dsmr/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,8 @@ func (s *ChunkStorage[T]) init() error {
}
return fmt.Errorf("failed to parse chunk %s at slot %d", chunkID, slot)
}
_, err = s.VerifyRemoteChunk(chunk)
if err != nil {
return err
}
s.chunkEMap.Add([]emapChunk[T]{{chunk: chunk}})
s.chunkMap[chunk.id] = &StoredChunkSignature[T]{Chunk: chunk}
}

if err := iter.Error(); err != nil {
Expand Down

0 comments on commit b40332d

Please sign in to comment.