Skip to content

Commit

Permalink
fix: remove ChunkTypeUnspecified check
Browse files Browse the repository at this point in the history
  • Loading branch information
nugaon committed Oct 1, 2024
1 parent a3faffd commit 450d973
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/storer/internal/reserve/reserve.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,6 @@ func New(
func (r *Reserve) Put(ctx context.Context, chunk swarm.Chunk) error {

chunkType := storage.ChunkType(chunk)
if chunkType == swarm.ChunkTypeUnspecified {
return errors.New("chunk type unspecified")
}

// batchID lock, Put vs Eviction
lockId := lockId(chunk.Stamp())
Expand Down

0 comments on commit 450d973

Please sign in to comment.