remove unnecessary error check

This commit is contained in:
William Banfield
2022-02-23 11:03:54 -05:00
parent 2a49070299
commit 271c85a5f2

View File

@@ -1972,7 +1972,6 @@ func TestProcessProposalAccept(t *testing.T) {
ensureNewProposal(t, proposalCh, height, round)
rs := cs1.GetRoundState()
require.NoError(t, err)
var prevoteHash tmbytes.HexBytes
if !testCase.expectedNilPrevote {
prevoteHash = rs.ProposalBlock.Hash()