From 263674cbd58a63f8496ed7d0afa4bc63fcd983c9 Mon Sep 17 00:00:00 2001 From: "Gregor G." <75445744+sideninja@users.noreply.github.com> Date: Fri, 25 Oct 2024 15:37:51 +0200 Subject: [PATCH] fix(*): add mainnet network checks (#2261) Update some missing mainnet values. issue: none --- monitor/avs/avs.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monitor/avs/avs.go b/monitor/avs/avs.go index d98b69401..3dd080797 100644 --- a/monitor/avs/avs.go +++ b/monitor/avs/avs.go @@ -14,8 +14,8 @@ import ( // StartMonitor starts monitoring the AVS contract. It doesn't block it returns immediately. func StartMonitor(ctx context.Context, network netconf.Network, ethClients map[uint64]ethclient.Client) error { - if network.ID != netconf.Omega && network.ID != netconf.Mainnet { - // only monitor in Testned and Mainnet + if !network.ID.IsProtected() { + // only monitor protected networks return nil }