fix TestStateProposerSelection2 to precommit for nil correctly

This commit is contained in:
William Banfield
2021-09-22 12:12:39 -04:00
parent cffe1fe730
commit 6bc596f5d0

View File

@@ -127,8 +127,8 @@ func TestStateProposerSelection2(t *testing.T) {
prop.Address))
}
rs := cs1.GetRoundState()
signAddVotes(config, cs1, tmproto.PrecommitType, nil, rs.ProposalBlockParts.Header(), vss[1:]...)
signAddVotes(config, cs1, tmproto.PrecommitType, nil, types.PartSetHeader{}, vss[1:]...)
time.Sleep(time.Second)
ensureNewRound(t, newRoundCh, height, i+round+1) // wait for the new round event each round
incrementRound(vss[1:]...)
}