Browse Source

consensus: reduce log severity for ErrVoteNonDeterministicSignature (#4431)

from error to debug

Closes #3583
pull/4435/head
tau3 5 years ago
committed by GitHub
parent
commit
b7dab3b8ab
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      consensus/state.go

+ 2
- 0
consensus/state.go View File

@ -1661,6 +1661,8 @@ func (cs *State) tryAddVote(vote *types.Vote, peerID p2p.ID) (bool, error) {
}
cs.evpool.AddEvidence(voteErr.DuplicateVoteEvidence)
return added, err
} else if err == types.ErrVoteNonDeterministicSignature {
cs.Logger.Debug("Vote has non-deterministic signature", "err", err)
} else {
// Either
// 1) bad peer OR


Loading…
Cancel
Save