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
commit 970fe32cba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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.