mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 03:05:07 +03: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…
	
	Add table
		Add a link
		
	
		Reference in a new issue