From dde6f1e92d3c7c17e16bb7ff050ce5d334a2a035 Mon Sep 17 00:00:00 2001 From: ForLina <471133417@qq.com> Date: Mon, 28 Jun 2021 15:48:17 +0800 Subject: [PATCH] p2p/enode: fix method doc (#23115) This is an obvious spelling error Co-authored-by: liuyaxiong --- p2p/enode/node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)