ensure proposal not for nil

This commit is contained in:
William Banfield
2022-01-21 12:53:41 -05:00
parent b795a876e5
commit fb0b6bc774
+1
View File
@@ -369,6 +369,7 @@ func TestStateFullRound1(t *testing.T) {
ensureNewProposal(t, propCh, height, round)
propBlockHash := cs.GetRoundState().ProposalBlock.Hash()
require.NotNil(t, propBlockHash)
ensurePrevoteMatch(t, voteCh, height, round, propBlockHash) // wait for prevote