Skip to content

Commit

Permalink
fix(*): add mainnet network checks (omni-network#2261)
Browse files Browse the repository at this point in the history
Update some missing mainnet values.

issue: none
  • Loading branch information
sideninja authored Oct 25, 2024
1 parent 7fbd71e commit 263674c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions monitor/avs/avs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 263674c

Please sign in to comment.