Skip to content

Commit

Permalink
apply suggestions
Browse files Browse the repository at this point in the history
Co-authored-by: Hlib Kanunnikov <[email protected]>
  • Loading branch information
vgonkivs and Wondertan committed Oct 13, 2023
1 parent b0ce766 commit 2325579
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions blob/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,7 @@ func (s *Service) getByCommitment(

err = ErrBlobNotFound
if len(rawShares) > 0 {
reportErr := fmt.Errorf("THIS IS A BUG: INCOMPLETE BLOB DETECTED at: %d height", height)
err = errors.Join(err, reportErr)
err = fmt.Errorf("incomplete blob detected at %d: %w", height, err)
log.Error(err)
}
return nil, nil, err
Expand Down

0 comments on commit 2325579

Please sign in to comment.