Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoPolo committed Jan 31, 2025
1 parent 5fcce02 commit c0a894d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions p2p/host/basic/address_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func (a *addressService) background() {
}

// Addrs returns the node's dialable addresses both public and private.
// If autorealy is enabled and node reachability is private, it returns
// If autorelay is enabled and node reachability is private, it returns
// the node's relay addresses and private network addresses.
func (a *addressService) Addrs() []ma.Multiaddr {
addrs := a.AllAddrs()
Expand Down Expand Up @@ -411,7 +411,7 @@ func (i *interfaceAddrsCache) updateUnlocked() {
}
}

// getAllPossibleLocalAddrs gives all the possible address returned for `conn.LocalAddr` correspoinding
// getAllPossibleLocalAddrs gives all the possible address returned for `conn.LocalAddr` corresponding
// to the `listenAddr`
func getAllPossibleLocalAddrs(listenAddr ma.Multiaddr, ifaceAddrs []ma.Multiaddr) []ma.Multiaddr {
// If the nat mapping fails, use the observed addrs
Expand Down

0 comments on commit c0a894d

Please sign in to comment.