mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
p2p/discover : typo (#27193)
This commit is contained in:
parent
92c24c1ffe
commit
abb423b3c4
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue