diff --git a/internal/consensus/invalid_test.go b/internal/consensus/invalid_test.go index 8f7b98700..f38598af9 100644 --- a/internal/consensus/invalid_test.go +++ b/internal/consensus/invalid_test.go @@ -26,7 +26,7 @@ func TestReactorInvalidPrecommit(t *testing.T) { config := configSetup(t) - n := 2 + const n = 2 states, cleanup := makeConsensusState(ctx, t, config, n, "consensus_reactor_test", newMockTickerFunc(true))