mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-02-15 03:11:50 +00:00
Fix comment on LocalAddr
This commit is contained in:
parent
429189d11d
commit
6c731c4efc
1 changed files with 1 additions and 1 deletions
|
@ -351,7 +351,7 @@ func (c *Conn) Close() (err error) {
|
|||
}
|
||||
|
||||
// LocalAddr returns the complete public key of the local side of the
|
||||
// connection. This is always going to return your own node's node ID.
|
||||
// connection. This is always going to return your own node's public key.
|
||||
func (c *Conn) LocalAddr() net.Addr {
|
||||
return &c.core.boxPub
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue