mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-06 21:36:26 +00:00
comment out ErrAddingVote because it breaks byzantine_test
This commit is contained in:
@@ -595,8 +595,9 @@ func (cs *ConsensusState) handleMsg(mi msgInfo) {
|
||||
// if the vote gives us a 2/3-any or 2/3-one, we transition
|
||||
err := cs.tryAddVote(msg.Vote, peerID)
|
||||
if err == ErrAddingVote {
|
||||
// punish peer
|
||||
cs.eventBus.Publish(peerErrorEvent, types.TMEventData{peerError{err, peerID}})
|
||||
// TODO: punish peer
|
||||
// breaks byzantine_test
|
||||
// cs.eventBus.Publish(peerErrorEvent, types.TMEventData{peerError{err, peerID}})
|
||||
}
|
||||
|
||||
// NOTE: the vote is broadcast to peers by the reactor listening
|
||||
|
||||
Reference in New Issue
Block a user