Skip to content
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 p2p/pkg/preconfirmation/preconfirmation.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ func (p *Preconfirmation) SendBid(

var ErrInvalidBidderTypeForBid = errors.New("invalid bidder type for bid")

// handlebid is the function that is called when a bid is received
// handleBid is the function that is called when a bid is received
// It is meant to be used by the provider exclusively to read the bid value from the bidder.
func (p *Preconfirmation) handleBid(
ctx context.Context,
Expand Down
2 changes: 1 addition & 1 deletion x/contracts/events/publisher/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func NewHTTPPublisher(
}
}

// AddContract appends new contract addresses to the set we listen on.
// AddContracts appends new contract addresses to the set we listen on.
func (h *httpPublisher) AddContracts(addr ...common.Address) {
h.mu.Lock()
defer h.mu.Unlock()
Expand Down
2 changes: 1 addition & 1 deletion x/health/health.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ type GrpcClientConn interface {
GetState() connectivity.State
}

// GrpcHealthCheck returns a health check that checks the state of the gRPC connection.
// GrpcGatewayHealthCheck returns a health check that checks the state of the gRPC connection.
func GrpcGatewayHealthCheck(conn GrpcClientConn) HealthCheck {
return HealthCheckFunc(func() error {
if conn.GetState() == connectivity.TransientFailure {
Expand Down