p2p/discover: add param names for documentation in interface

This commit is contained in:
Felix Lange 2025-04-02 13:21:24 +02:00
parent 776c02e534
commit e0e33a6522

View file

@ -66,7 +66,7 @@ type codecV5 interface {
CurrentChallenge(id enode.ID, addr string) *v5wire.Whoareyou
// SessionNode returns a node that has completed the handshake.
SessionNode(enode.ID, string) *enode.Node
SessionNode(id enode.ID, addr string) *enode.Node
}
// UDPv5 is the implementation of protocol version 5.