forked from cerc-io/plugeth
p2p/enode: fix method doc (#23115)
This is an obvious spelling error Co-authored-by: liuyaxiong <liuyaxiong@inspur.com>
This commit is contained in:
parent
2d4eff21ca
commit
dde6f1e92d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user