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 #900

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 providers/apis/defi/ethmulticlient/multi_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func (m *MultiRPCClient) BatchCallContext(ctx context.Context, batchElems []rpc.
return nil
}

// filterAccountsResponses chooses the rpc response with the highest block number.
// filterResponses chooses the rpc response with the highest block number.
func (m *MultiRPCClient) filterResponses(responses []result) ([]rpc.BatchElem, error) {
// see which of the results had the largest height, and store the index of that result.
var (
Expand Down