diff --git a/internal/evidence/pool_test.go b/internal/evidence/pool_test.go index 162e507cb..8cbbb613d 100644 --- a/internal/evidence/pool_test.go +++ b/internal/evidence/pool_test.go @@ -587,14 +587,12 @@ func initializeBlockStore(db dbm.DB, state sm.State, valAddr []byte) (*store.Blo } func makeExtCommit(height int64, valAddr []byte) *types.ExtendedCommit { - extCommitSigs := []types.ExtendedCommitSig{{ + return types.NewExtendedCommit(height, 0, types.BlockID{}, []types.ExtendedCommitSig{{ BlockIDFlag: types.BlockIDFlagCommit, ValidatorAddress: valAddr, Timestamp: defaultEvidenceTime, Signature: []byte("Signature"), - }} - - return types.NewExtendedCommit(height, 0, types.BlockID{}, extCommitSigs) + }}) } func defaultTestPool(ctx context.Context, t *testing.T, height int64) (*evidence.Pool, types.MockPV, *eventbus.EventBus) {