From c92f3d2f3374ab406cda5bd71537bbc70fa601cb Mon Sep 17 00:00:00 2001 From: William Banfield Date: Sun, 15 May 2022 22:21:53 -0400 Subject: [PATCH] test for nil problem in e2e --- internal/consensus/state.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/consensus/state.go b/internal/consensus/state.go index 4747e7402..63a45444a 100644 --- a/internal/consensus/state.go +++ b/internal/consensus/state.go @@ -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() &&