From 050d90a23e8b0b5057c67db740cf537a485e58a3 Mon Sep 17 00:00:00 2001 From: fabtreb <70035807+fabtreb@users.noreply.github.com> Date: Mon, 2 Dec 2024 23:55:58 +0200 Subject: [PATCH] chore(admin): fix allow network logic (#2602) Fix allow network logic issue: none --- e2e/app/admin/allowoperator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/app/admin/allowoperator.go b/e2e/app/admin/allowoperator.go index 740873a3d..eedbf43d1 100644 --- a/e2e/app/admin/allowoperator.go +++ b/e2e/app/admin/allowoperator.go @@ -39,7 +39,7 @@ var mainnetOperators = []common.Address{ // Note it only adds any of the operators that are missing, it doesn't remove any ever. func AllowOperators(ctx context.Context, def app.Definition, cfg Config) error { network := def.Testnet.Network - if network.Static().Network != netconf.Omega || network.Static().Network != netconf.Mainnet { + if network.Static().Network != netconf.Omega && network.Static().Network != netconf.Mainnet { return errors.New("allow operator only supported on omega or mainnet", "network", network.Static().Network.String()) }