Unverified Commit dde6f1e9 authored by ForLina's avatar ForLina Committed by GitHub

p2p/enode: fix method doc (#23115)

This is an obvious spelling error
Co-authored-by: 's avatarliuyaxiong <liuyaxiong@inspur.com>
parent 2d4eff21
...@@ -121,7 +121,7 @@ func (n *Node) UDP() int { ...@@ -121,7 +121,7 @@ func (n *Node) UDP() int {
return int(port) return int(port)
} }
// UDP returns the TCP port of the node. // TCP returns the TCP port of the node.
func (n *Node) TCP() int { func (n *Node) TCP() int {
var port enr.TCP var port enr.TCP
n.Load(&port) n.Load(&port)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment