Skip to content

Commit dde6f1e

Browse files
ForLinaliuyaxiong
andauthored
p2p/enode: fix method doc (ethereum#23115)
This is an obvious spelling error Co-authored-by: liuyaxiong <[email protected]>
1 parent 2d4eff2 commit dde6f1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

p2p/enode/node.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ func (n *Node) UDP() int {
121121
return int(port)
122122
}
123123

124-
// UDP returns the TCP port of the node.
124+
// TCP returns the TCP port of the node.
125125
func (n *Node) TCP() int {
126126
var port enr.TCP
127127
n.Load(&port)

0 commit comments

Comments
 (0)