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: sjtucoder <[email protected].>
  • Loading branch information
sjtucoder committed Feb 7, 2025
1 parent bbd36fe commit 5e213af
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 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

0 comments on commit 5e213af

Please sign in to comment.