diff --git a/abci/preblock/oracle/utils.go b/abci/preblock/oracle/utils.go index 6ef402904..643a1c92c 100644 --- a/abci/preblock/oracle/utils.go +++ b/abci/preblock/oracle/utils.go @@ -11,7 +11,7 @@ import ( servicemetrics "github.com/skip-mev/connect/v2/service/metrics" ) -// recordPrice records all the given prices per ticker, and reports them as a float64. +// recordPrices records all the given prices per ticker, and reports them as a float64. func (h *PreBlockHandler) recordPrices(prices map[connecttypes.CurrencyPair]*big.Int) { for ticker, price := range prices { floatPrice, _ := price.Float64() diff --git a/abci/strategies/aggregator/price_applier.go b/abci/strategies/aggregator/price_applier.go index c3fccdf83..03b61d68c 100644 --- a/abci/strategies/aggregator/price_applier.go +++ b/abci/strategies/aggregator/price_applier.go @@ -26,7 +26,7 @@ type PriceApplier interface { // otherwise an error is returned + nil prices. ApplyPricesFromVoteExtensions(ctx sdk.Context, req *cometabci.RequestFinalizeBlock) (map[connecttypes.CurrencyPair]*big.Int, error) - // GetPriceForValidator gets the prices reported by a given validator. This method depends + // GetPricesForValidator gets the prices reported by a given validator. This method depends // on the prices from the latest set of aggregated votes. GetPricesForValidator(validator sdk.ConsAddress) map[connecttypes.CurrencyPair]*big.Int }