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: wangjingcun <wangjingcun@aliyun.com>
  • Loading branch information
wangjingcun committed Feb 12, 2025
1 parent 9a7ad03 commit 551abbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion peers/external_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func (h *RelayerExternalHandler) RegisterAppRequest(reqID ids.RequestID) {
})
}

// RegisterResponse registers an AppResponse with the timeout manager
// registerAppResponse registers an AppResponse with the timeout manager
func (h *RelayerExternalHandler) registerAppResponse(inboundMessage message.InboundMessage) {
h.lock.Lock()
defer h.lock.Unlock()
Expand Down
2 changes: 1 addition & 1 deletion utils/client_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func addQueryParams(endpoint string, queryParams map[string]string) (string, err
return uri.String(), nil
}

// newClientOptions creates a ClientOption slice from httpHeaders
// newClientHeaderOptions creates a ClientOption slice from httpHeaders
func newClientHeaderOptions(httpHeaders map[string]string) []rpc.ClientOption {
opts := make([]rpc.ClientOption, 0, len(httpHeaders))
for key, value := range httpHeaders {
Expand Down

0 comments on commit 551abbf

Please sign in to comment.