Skip to content

Commit

Permalink
Merge branch 'fix_network_override' into experiment_automatic_gas
Browse files Browse the repository at this point in the history
  • Loading branch information
Tofel committed Mar 14, 2024
2 parents 8e8a690 + b9f9fc5 commit d9bb497
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions integration-tests/testconfig/testconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit d9bb497

Please sign in to comment.