From b9f9fc5b35812db6b0d32316c65ec810e31a966d Mon Sep 17 00:00:00 2001 From: Bartek Tofel Date: Thu, 14 Mar 2024 10:55:59 +0100 Subject: [PATCH] fix lints --- integration-tests/testconfig/testconfig.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/integration-tests/testconfig/testconfig.go b/integration-tests/testconfig/testconfig.go index e30b209fd55..ee3ce21d3db 100644 --- a/integration-tests/testconfig/testconfig.go +++ b/integration-tests/testconfig/testconfig.go @@ -600,10 +600,9 @@ func handleDefaultConfigOverride(logger zerolog.Logger, filename, configurationN if old_network.ChainID == new_network.ChainID { oldConfig.Seth.Networks[i] = new_network break - } else { - if _, ok := networksToUse[new_network.ChainID]; !ok { - networksToUse[new_network.ChainID] = new_network - } + } + if _, ok := networksToUse[new_network.ChainID]; !ok { + networksToUse[new_network.ChainID] = new_network } } networksToUse[old_network.ChainID] = oldConfig.Seth.Networks[i]