Merge pull request #141 from libp2p/fix/reachability-type

fix: use correct reachability type
This commit is contained in:
Steven Allen
2020-04-13 11:02:00 -07:00
committed by GitHub

View File

@@ -59,7 +59,7 @@ type Reachability int
const (
// ReachabilityUnknown indicates that the reachability status of the
// node is unknown.
ReachabilityUnknown = iota
ReachabilityUnknown Reachability = iota
// ReachabilityPublic indicates that the node is reachable from the
// public internet.