mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-10 15:07:24 +00:00
decrement multiple times
This commit is contained in:
@@ -878,6 +878,7 @@ func (m *PeerManager) Disconnected(peerID types.NodeID) {
|
||||
}
|
||||
|
||||
ready := m.ready[peerID]
|
||||
m.store.peers[peerID].MutableScore -= 2
|
||||
|
||||
delete(m.connected, peerID)
|
||||
delete(m.upgrading, peerID)
|
||||
|
||||
Reference in New Issue
Block a user