Skip to content

Commit

Permalink
fix(oracle): fix UpdateExchangeRates return type
Browse files Browse the repository at this point in the history
  • Loading branch information
SpekalsG3 committed Nov 7, 2024
1 parent cb2210a commit 737fec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/oracle/keeper/update_exchange_rates.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func (k Keeper) UpdateExchangeRates(ctx sdk.Context) types.ValidatorPerformances
validatorPerformances := k.newValidatorPerformances(ctx)
pairs, err := k.GetWhitelistedPairs(ctx)
if err != nil {
return err
panic(err)
}
whitelistedPairs := set.New[asset.Pair](pairs...)

Expand Down

0 comments on commit 737fec8

Please sign in to comment.