From 7e9119b74fb3661a3185687547d0b4e03dce57ef Mon Sep 17 00:00:00 2001 From: Mateusz Sekara Date: Wed, 24 Jul 2024 15:23:59 +0200 Subject: [PATCH] Test --- .../plugins/ccip/internal/oraclelib/backfilled_oracle.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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