diff --git a/core/services/ocr2/plugins/ccip/internal/oraclelib/backfilled_oracle.go b/core/services/ocr2/plugins/ccip/internal/oraclelib/backfilled_oracle.go index 3c5ab64103..d2851e3a07 100644 --- a/core/services/ocr2/plugins/ccip/internal/oraclelib/backfilled_oracle.go +++ b/core/services/ocr2/plugins/ccip/internal/oraclelib/backfilled_oracle.go @@ -140,13 +140,13 @@ type ChainAgnosticBackFilledOracle struct { cancelFn context.CancelFunc } -func (r *ChainAgnosticBackFilledOracle) Start(ctx context.Context) error { - go r.run(ctx) +func (r *ChainAgnosticBackFilledOracle) Start(_ context.Context) error { + go r.run() return nil } -func (r *ChainAgnosticBackFilledOracle) run(ctx context.Context) { - ctx, cancelFn := context.WithCancel(ctx) +func (r *ChainAgnosticBackFilledOracle) run() { + ctx, cancelFn := context.WithCancel(context.Background()) r.cancelFn = cancelFn var err error var errMu sync.Mutex