Skip to content

Commit

Permalink
Map testnet-v1.0 to testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
hsoerensen committed Sep 27, 2024
1 parent 64552ee commit f6e992a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/utils/network_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ func (nu NetworkUtils) GetEnvNetworkVar() string {

func (nu NetworkUtils) GetNetworkFromEnv() (string, bool) {
network := os.Getenv(envNetworkVar)

if network == "testnet-v1.0" {
return testNet, true
}

if network != "" {
log.Printf("Using network from environment variable: %s", network)
return network, true
Expand Down

0 comments on commit f6e992a

Please sign in to comment.