Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some function names in comment #882

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading