From 3aebfc27bb006730f47c660ff570bb3ab1b2beb0 Mon Sep 17 00:00:00 2001 From: davidcauchi Date: Thu, 14 Nov 2024 11:59:03 +0100 Subject: [PATCH] Simplify --- integration-tests/types/config/node/core.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/integration-tests/types/config/node/core.go b/integration-tests/types/config/node/core.go index 45c25cd4fcc..b3c20a26455 100644 --- a/integration-tests/types/config/node/core.go +++ b/integration-tests/types/config/node/core.go @@ -91,10 +91,9 @@ func WithPrivateEVMs(networks []blockchain.EVMNetwork, commonChainConfig *evmcfg for _, network := range networks { var evmNodes []*evmcfg.Node + // The CL node cannot have missing HTTP urls. If there are more WS URLs it will fail validation. + // If len(network.HTTPURLs) == 2 then len(network.URLs) must be 2 or less. urlCount := len(network.HTTPURLs) - if len(network.URLs) > 0 { - urlCount = len(network.URLs) - } for i := 0; i < urlCount; i++ { node := &evmcfg.Node{