diff --git a/test/helpers/e2e.go b/test/helpers/e2e.go index 106f4171..7cc03bab 100644 --- a/test/helpers/e2e.go +++ b/test/helpers/e2e.go @@ -184,9 +184,9 @@ func L2Setup(t *testing.T) *L2Environment { dbPathReorgL2 := path.Join(t.TempDir(), "ReorgDetectorL2.sqlite") rdL2, err := reorgdetector.New(l2Client.Client(), reorgdetector.Config{ DBPath: dbPathReorgL2, - CheckReorgsInterval: cfgTypes.Duration{Duration: time.Millisecond * 100}}, + CheckReorgsInterval: cfgTypes.Duration{Duration: time.Millisecond * 100}}, //nolint:mnd reorgdetector.L2, - ) //nolint:mnd + ) require.NoError(t, err) go rdL2.Start(ctx) //nolint:errcheck