From 60335ab31e81d5eafd35c1c665a34e6ce1312182 Mon Sep 17 00:00:00 2001 From: colinlyguo Date: Thu, 1 Feb 2024 17:50:31 +0800 Subject: [PATCH] remove duplicated --- rollup/internal/controller/relayer/l1_relayer.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/rollup/internal/controller/relayer/l1_relayer.go b/rollup/internal/controller/relayer/l1_relayer.go index 8bda69a483..9f45e63db7 100644 --- a/rollup/internal/controller/relayer/l1_relayer.go +++ b/rollup/internal/controller/relayer/l1_relayer.go @@ -86,10 +86,6 @@ func NewLayer1Relayer(ctx context.Context, db *gorm.DB, cfg *config.RelayerConfi l1Relayer.metrics = initL1RelayerMetrics(reg) - if serviceType == ServiceTypeL1GasOracle { - go l1Relayer.handleGasOracleConfirmLoop(ctx) - } - switch serviceType { case ServiceTypeL1GasOracle: go l1Relayer.handleGasOracleConfirmLoop(ctx)