Skip to content

Commit

Permalink
p2p/discover : typo (ethereum#27193)
Browse files Browse the repository at this point in the history
  • Loading branch information
ucwong authored and devopsbo3 committed Nov 10, 2023
1 parent 92c24c1 commit abb423b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/discover/v5_udp.go
Expand Up @@ -264,7 +264,7 @@ func (t *UDPv5) TalkRequest(n *enode.Node, protocol string, request []byte) ([]b
}
}

// TalkRequest sends a talk request to a node and waits for a response.
// TalkRequestToID sends a talk request to a node and waits for a response.
func (t *UDPv5) TalkRequestToID(id enode.ID, addr *net.UDPAddr, protocol string, request []byte) ([]byte, error) {
req := &v5wire.TalkRequest{Protocol: protocol, Message: request}
resp := t.callToID(id, addr, v5wire.TalkResponseMsg, req)
Expand Down

0 comments on commit abb423b

Please sign in to comment.