Skip to content

Commit

Permalink
chore: fix some function names in comment
Browse files Browse the repository at this point in the history
Signed-off-by: toofooboo <[email protected]>
  • Loading branch information
toofooboo committed Dec 20, 2024
1 parent 40a9be0 commit 9b383d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion abci/preblock/oracle/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion abci/strategies/aggregator/price_applier.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 9b383d0

Please sign in to comment.