mirror of
https://github.com/tendermint/tendermint.git
synced 2026-02-10 05:50:19 +00:00
test for nil problem in e2e
This commit is contained in:
@@ -2366,6 +2366,8 @@ func (cs *State) addVote(
|
||||
return
|
||||
}
|
||||
|
||||
_ = vote.ValidatorAddress
|
||||
_ = cs.privValidatorPubKey.Address()
|
||||
// Verify VoteExtension if precommit and not nil
|
||||
// https://github.com/tendermint/tendermint/issues/8487
|
||||
if vote.Type == tmproto.PrecommitType && !vote.BlockID.IsNil() &&
|
||||
|
||||
Reference in New Issue
Block a user