diff --git a/x/metoken/expected_keepers.go b/x/metoken/expected_keepers.go index 5c021ece9d..0fbe27a669 100644 --- a/x/metoken/expected_keepers.go +++ b/x/metoken/expected_keepers.go @@ -34,5 +34,5 @@ type LeverageKeeper interface { // OracleKeeper interface for price feed. type OracleKeeper interface { AllMedianPrices(ctx sdk.Context) otypes.Prices - SetExchangeRateWithEvent(ctx sdk.Context, denom string, rate sdk.Dec) + SetExchangeRate(ctx sdk.Context, denom string, rate sdk.Dec) } diff --git a/x/metoken/keeper/price.go b/x/metoken/keeper/price.go index c0146d0024..16d2c6ca54 100644 --- a/x/metoken/keeper/price.go +++ b/x/metoken/keeper/price.go @@ -122,7 +122,7 @@ func (k Keeper) SetPricesToOracle() error { continue } - k.oracleKeeper.SetExchangeRateWithEvent(*k.ctx, indexToken.SymbolDenom, iPrice.Price) + k.oracleKeeper.SetExchangeRate(*k.ctx, indexToken.SymbolDenom, iPrice.Price) } return nil