Fix comment on LocalAddr

This commit is contained in:
Neil Alexander 2020-02-16 23:45:11 +00:00
parent 429189d11d
commit 6c731c4efc
No known key found for this signature in database
GPG Key ID: A02A2019A2BB0944

View File

@ -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
}