mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-28 20:06:24 +00:00
remove comment
This commit is contained in:
@@ -1078,8 +1078,6 @@ func (m *PeerManager) processPeerEvent(ctx context.Context, pu PeerUpdate) {
|
||||
switch pu.Status {
|
||||
case PeerStatusBad:
|
||||
if m.store.peers[pu.NodeID].MutableScore == math.MinInt16 {
|
||||
// TODO: should we inactivate the peer at this
|
||||
// point?
|
||||
return
|
||||
}
|
||||
m.store.peers[pu.NodeID].MutableScore--
|
||||
|
||||
Reference in New Issue
Block a user