From 9431db98e3ab73717d0043fd82a5c664a2e50ebb Mon Sep 17 00:00:00 2001 From: Thane Thomson Date: Sun, 20 Mar 2022 13:38:53 -0400 Subject: [PATCH] Fix lint Signed-off-by: Thane Thomson --- internal/state/execution_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/state/execution_test.go b/internal/state/execution_test.go index 1e245d777..0d1e0e913 100644 --- a/internal/state/execution_test.go +++ b/internal/state/execution_test.go @@ -699,10 +699,10 @@ func TestPrepareProposalPanicOnInvalid(t *testing.T) { eventBus, ) pa, _ := state.Validators.GetByIndex(0) - commit := makeValidCommit(ctx, t, height, types.BlockID{}, state.Validators, privVals) + commit, votes := makeValidCommit(ctx, t, height, types.BlockID{}, state.Validators, privVals) require.Panics(t, func() { - blockExec.CreateProposalBlock(ctx, height, state, commit, pa, nil) //nolint:errcheck + blockExec.CreateProposalBlock(ctx, height, state, commit, pa, votes) //nolint:errcheck }) mp.AssertExpectations(t)