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 }