mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-25 06:42:16 +00:00
parent
04e97f599a
commit
616c3a4bae
@ -1529,7 +1529,7 @@ func (cs *ConsensusState) addVote(vote *types.Vote, peerID p2p.ID) (added bool,
|
|||||||
// Not necessarily a bad peer, but not favourable behaviour.
|
// Not necessarily a bad peer, but not favourable behaviour.
|
||||||
if vote.Height != cs.Height {
|
if vote.Height != cs.Height {
|
||||||
err = ErrVoteHeightMismatch
|
err = ErrVoteHeightMismatch
|
||||||
cs.Logger.Info("Vote ignored and not added", "voteHeight", vote.Height, "csHeight", cs.Height, "err", err)
|
cs.Logger.Info("Vote ignored and not added", "voteHeight", vote.Height, "csHeight", cs.Height, "peerID", peerID)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user