Remove repeated 'iota' in const lists, since Go knows what you mean

This commit is contained in:
Bryan Boreham committed 2015-01-09 15:55:35 +00:00
1 parent ad0b4a5a5a
commit 15852dfa42
5 files changed
+22 -22

No files matched your search

+4 -4
View File
@@ -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