diff --git a/internal/consensus/common_test.go b/internal/consensus/common_test.go index 8799d87d4..8650e4d6b 100644 --- a/internal/consensus/common_test.go +++ b/internal/consensus/common_test.go @@ -291,7 +291,7 @@ func validatePrevote(t *testing.T, cs *State, round int32, privVal *validatorStu } func validateLastPrecommit(t *testing.T, cs *State, privVal *validatorStub, blockHash []byte) { - votes := cs.LastCommit + votes := cs.GetRoundState().LastCommit pv, err := privVal.GetPubKey(context.Background()) require.NoError(t, err) address := pv.Address()