refactor: 'enum' -> bool

This commit is contained in:
Matthias Radestock committed 2014-09-10 16:39:05 +01:00
1 parent ce2d3ff30a
commit 4e442393b2
2 files changed
+6 -13

No files matched your search

+1 -1
View File
@@ -169,7 +169,7 @@ type ConnectionState int
// Information about an address where we may find a peer
type Target struct {
state ConnectionState
attempting bool // are we currently attempting to connect there?
tryAfter time.Time // next time to try this address
tryInterval time.Duration // backoff time on next failure
attemptCount int