Skip to content

Commit

Permalink
fix: fix the lint
Browse files Browse the repository at this point in the history
  • Loading branch information
gsk967 committed Apr 30, 2024
1 parent 9f9072e commit b44055e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/oracle/keeper/historic_price.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func (k Keeper) CalcAndSetHistoricMedian(

median, err := decmath.Median(historicPrices)
if err != nil {
return errors.Wrap(err, "denom: "+denom) //nolint: goconst
return errors.Wrap(err, "denom: "+denom)

Check warning on line 48 in x/oracle/keeper/historic_price.go

View check run for this annotation

Codecov / codecov/patch

x/oracle/keeper/historic_price.go#L48

Added line #L48 was not covered by tests
}

block := uint64(ctx.BlockHeight())
Expand Down

0 comments on commit b44055e

Please sign in to comment.