mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-20 14:16:22 +00:00
iota fix
This commit is contained in:
@@ -41,8 +41,7 @@ const (
|
||||
type peerConnectionDirection int
|
||||
|
||||
const (
|
||||
peerConnectionInvalid peerConnectionDirection = iota
|
||||
peerConnectionIncoming
|
||||
peerConnectionIncoming peerConnectionDirection = iota + 1
|
||||
peerConnectionOutgoing
|
||||
)
|
||||
|
||||
@@ -457,8 +456,6 @@ func (m *PeerManager) getConnectedInfo() connectionStats {
|
||||
out.incoming++
|
||||
case peerConnectionOutgoing:
|
||||
out.outgoing++
|
||||
case peerConnectionInvalid:
|
||||
continue
|
||||
}
|
||||
}
|
||||
return out
|
||||
|
||||
Reference in New Issue
Block a user