Skip to content

Commit

Permalink
fix(network): restore sentry as mainnet network
Browse files Browse the repository at this point in the history
  • Loading branch information
hmoragrega committed Oct 26, 2023
1 parent aa40742 commit d9b8c97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/common/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,14 +287,14 @@ func LoadNetwork(name string, node string) Network {
explorerCookieAssistant: explorerCookieAssistant,
}
case "mainnet":
validNodes := []string{"lb", "lb_k8s", "sentry0", "sentry1", "sentry2", "sentry3"}
validNodes := []string{"lb", "lb_k8s", "sentry", "sentry0", "sentry1", "sentry2", "sentry3"}
if !contains(validNodes, node) {
panic(fmt.Sprintf("invalid node %s for %s", node, name))
}
var lcdEndpoint, tmEndpoint, chainGrpcEndpoint, exchangeGrpcEndpoint, explorerGrpcEndpoint string
var chainTlsCert, exchangeTlsCert, explorerTlsCert credentials.TransportCredentials
var chainCookieAssistant, exchangeCookieAssistant, explorerCookieAssistant CookieAssistant
if node == "lb" {
if node == "lb" || node == "sentry" {
lcdEndpoint = "https://sentry.lcd.injective.network"
tmEndpoint = "https://sentry.tm.injective.network:443"
chainGrpcEndpoint = "sentry.chain.grpc.injective.network:443"
Expand Down

0 comments on commit d9b8c97

Please sign in to comment.