Skip to content

Commit

Permalink
chore: remove 'voitestnet' network configuration that was never used
Browse files Browse the repository at this point in the history
  • Loading branch information
pbennett committed Nov 27, 2024
1 parent bb7d9c5 commit a0d9ccc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion nodemgr/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func (ac *RetiApp) initClients(ctx context.Context, cmd *cli.Command) error {
}
// quick validity check on possible network names...
switch network {
case "sandbox", "fnet", "betanet", "testnet", "mainnet", "voitestnet":
case "sandbox", "fnet", "betanet", "testnet", "mainnet":
default:
return fmt.Errorf("unknown network:%s", network)
}
Expand Down
6 changes: 0 additions & 6 deletions nodemgr/internal/lib/algo/networks.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,6 @@ func getDefaults(network string) NetworkConfig {
cfg.NFDAPIUrl = "https://api.testnet.nf.domains"
cfg.NodeURL = "http://localhost:4001"
cfg.NodeToken = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
//-----
// VOI
//-----
case "voitestnet":
cfg.NFDAPIUrl = "https://api.nf.domains"
cfg.NodeURL = "https://testnet-api.voi.nodely.io"
}
return cfg
}
Expand Down

1 comment on commit a0d9ccc

@vercel
Copy link

@vercel vercel bot commented on a0d9ccc Nov 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

reti – ./

reti-nodely.vercel.app
reti-git-dev-nodely.vercel.app
fnet.reti.nodly.io

Please sign in to comment.