Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinegelloz committed Jun 14, 2022
1 parent 58b2583 commit b11fa82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/storage/sqlstorage/aggregations.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func (s *Store) getAccountVolume(ctx context.Context, exec executor, address, as
}

var input, output int64
if err := row.Scan(&input, &output); err != nil {
if err := row.Scan(&input, &output); err != nil {
if err == sql.ErrNoRows {
return core.Volume{}, nil
}
Expand Down

0 comments on commit b11fa82

Please sign in to comment.