mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2024-11-10 05:10:26 +00:00
Fix comment on LocalAddr
This commit is contained in:
parent
429189d11d
commit
6c731c4efc
@ -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 New Issue
Block a user