From 8515dd79479a820a96054b3eb1af72b9bb65d836 Mon Sep 17 00:00:00 2001 From: Dimitris Date: Mon, 22 Apr 2024 19:17:18 +0300 Subject: [PATCH] Fix lint --- core/services/job/models.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/core/services/job/models.go b/core/services/job/models.go index 7663256c711..8621d6cd5dd 100644 --- a/core/services/job/models.go +++ b/core/services/job/models.go @@ -327,14 +327,14 @@ func (r JSONConfig) MercuryCredentialName() (string, error) { return name, nil } -func (relayConfig JSONConfig) ApplyDefaultsOCR2(cfg ocr2Config) { - _, ok := relayConfig["defaultTransactionQueueDepth"] +func (r JSONConfig) ApplyDefaultsOCR2(cfg ocr2Config) { + _, ok := r["defaultTransactionQueueDepth"] if !ok { - relayConfig["defaultTransactionQueueDepth"] = cfg.DefaultTransactionQueueDepth() + r["defaultTransactionQueueDepth"] = cfg.DefaultTransactionQueueDepth() } - _, ok = relayConfig["simulateTransactions"] + _, ok = r["simulateTransactions"] if !ok { - relayConfig["simulateTransactions"] = cfg.SimulateTransactions() + r["simulateTransactions"] = cfg.SimulateTransactions() } }