Skip to content

Commit

Permalink
fix return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
vgonkivs committed Jun 2, 2023
1 parent 4311ffc commit 604ba7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blob/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func (s *Service) Submit(ctx context.Context, blobs []*Blob) (uint64, error) {
if err != nil {
return 0, err
}
return uint64(resp.Height), err
return uint64(resp.Height), nil
}

// Get retrieves all the blobs for given namespaces at the given height by commitment.
Expand Down

0 comments on commit 604ba7f

Please sign in to comment.