From a865e28f2866ad8d1df99d2e3924a9c57b47813e Mon Sep 17 00:00:00 2001 From: ucwong Date: Fri, 28 Apr 2023 13:34:08 -0500 Subject: [PATCH] p2p/discover : typo (#27193) --- p2p/discover/v5_udp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/discover/v5_udp.go b/p2p/discover/v5_udp.go index df5ffcf3b..50e25b858 100644 --- a/p2p/discover/v5_udp.go +++ b/p2p/discover/v5_udp.go @@ -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)