Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/go_modules/github.com/cometbft/co…
Browse files Browse the repository at this point in the history
…metbft-0.37.12
  • Loading branch information
gsk967 authored Oct 30, 2024
2 parents 6d29825 + 38fc85f commit bef1d61
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions x/leverage/keeper/oracle.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ func (k Keeper) TokenPrice(ctx sdk.Context, baseDenom string, mode types.PriceMo
if err != nil {
return sdk.ZeroDec(), 0, err
}
if t.Blacklist {
return sdk.ZeroDec(), t.Exponent, types.ErrBlacklisted
}

// if a token is exempt from historic pricing, all price modes ignore historic prices
// and use spot prices instead, sometimes also allowing expired prices.
Expand Down

0 comments on commit bef1d61

Please sign in to comment.