Browse Source

Fix lint

Signed-off-by: Thane Thomson <connect@thanethomson.com>
thane/7655-vote-extensions
Thane Thomson 3 years ago
parent
commit
9431db98e3
No known key found for this signature in database GPG Key ID: 19811391D676EE45
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      internal/state/execution_test.go

+ 2
- 2
internal/state/execution_test.go View File

@ -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)


Loading…
Cancel
Save