Remove repeated 'iota' in const lists, since Go knows what you mean
This commit is contained in:
1 parent
ad0b4a5a5a
commit
15852dfa42
5 files changed
+22
-22
No files matched your search
@@ -113,10 +113,10 @@ func (peer *LocalPeer) CreateConnection(peerAddr string, acceptNewPeer bool) err
|
||||
// ACTOR client API
|
||||
|
||||
const (
|
||||
PAddConnection = iota
|
||||
PBroadcastTCP = iota
|
||||
PDeleteConnection = iota
|
||||
PConnectionEstablished = iota
|
||||
PAddConnection = iota
|
||||
PBroadcastTCP
|
||||
PDeleteConnection
|
||||
PConnectionEstablished
|
||||
)
|
||||
|
||||
// Async: rely on the peer to shut us down if we shouldn't be adding
|
||||
|
||||
Reference in new issue
Block a user