Skip to content

Commit

Permalink
re-add accidentaly removed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
whyrusleeping committed Apr 21, 2016
1 parent 5843d4f commit a82dcac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions p2p/net/swarm/addr/addr.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ func FilterAddrs(a []ma.Multiaddr, filters ...func(ma.Multiaddr) bool) []ma.Mult
return b
}

// FilterUsableAddrs removes certain addresses
// from a list. the addresses removed are those known NOT
// to work with our network. Namely, addresses with UTP.
func FilterUsableAddrs(a []ma.Multiaddr) []ma.Multiaddr {
return FilterAddrs(a, AddrUsableFunc)
}
Expand Down

0 comments on commit a82dcac

Please sign in to comment.