diff --git a/core/services/chainlink/application.go b/core/services/chainlink/application.go index 7b4a4eac774..814c8a1c10b 100644 --- a/core/services/chainlink/application.go +++ b/core/services/chainlink/application.go @@ -421,30 +421,26 @@ func NewApplication(opts ApplicationOpts) (Application, error) { } } - var feedsService feeds.Service = &feeds.NullService{} + var feedsService feeds.Service if cfg.Feature().FeedsManager() { - if keys, err := opts.KeyStore.CSA().GetAll(); err != nil { - globalLogger.Warn("[Feeds Service] Unable to start without CSA key", "err", err) - } else if len(keys) == 0 { - globalLogger.Warn("[Feeds Service] Unable to start without CSA key") - } else { - feedsORM := feeds.NewORM(db, opts.Logger, cfg.Database()) - feedsService = feeds.NewService( - feedsORM, - jobORM, - db, - jobSpawner, - keyStore, - cfg.Insecure(), - cfg.JobPipeline(), - cfg.OCR(), - cfg.OCR2(), - cfg.Database(), - legacyEVMChains, - globalLogger, - opts.Version, - ) - } + feedsORM := feeds.NewORM(db, opts.Logger, cfg.Database()) + feedsService = feeds.NewService( + feedsORM, + jobORM, + db, + jobSpawner, + keyStore, + cfg.Insecure(), + cfg.JobPipeline(), + cfg.OCR(), + cfg.OCR2(), + cfg.Database(), + legacyEVMChains, + globalLogger, + opts.Version, + ) + } else { + feedsService = &feeds.NullService{} } for _, s := range srvcs {