diff --git a/p2p/enode/node.go b/p2p/enode/node.go index c2429e0e8..d747ca331 100644 --- a/p2p/enode/node.go +++ b/p2p/enode/node.go @@ -121,7 +121,7 @@ func (n *Node) UDP() int { return int(port) } -// UDP returns the TCP port of the node. +// TCP returns the TCP port of the node. func (n *Node) TCP() int { var port enr.TCP n.Load(&port)