mirror of
https://github.com/tendermint/tendermint.git
synced 2025-12-23 06:15:19 +00:00
(cherry picked from commit bf8cce83db)
Co-authored-by: Callum Waters <cmwaters19@gmail.com>
This commit is contained in:
@@ -1958,7 +1958,7 @@ func (cs *State) tryAddVote(vote *types.Vote, peerID p2p.ID) (bool, error) {
|
||||
)
|
||||
|
||||
return added, err
|
||||
} else if err == types.ErrVoteNonDeterministicSignature {
|
||||
} else if errors.Is(err, types.ErrVoteNonDeterministicSignature) {
|
||||
cs.Logger.Debug("vote has non-deterministic signature", "err", err)
|
||||
} else {
|
||||
// Either
|
||||
|
||||
Reference in New Issue
Block a user