Skip to content

Commit

Permalink
fix: bad return
Browse files Browse the repository at this point in the history
  • Loading branch information
notanatol committed Feb 21, 2024
1 parent 7cbfc48 commit ad22034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/storer/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ func getInvalidChunks(logger log.Logger, store storage.Store, readFn func(contex
err = store.Get(&sharedEntry)
if err != nil {
logger.Warning("no shared entry found")
return false, nil
return false, err
}

logger.Warning("retrieved chunk with shared slot", "shared_address", sharedEntry.Address, "shared_timestamp", time.Unix(int64(sharedEntry.Timestamp), 0))
Expand Down

0 comments on commit ad22034

Please sign in to comment.