Skip to content

Commit

Permalink
Merge pull request #167 from InjectiveLabs/f/restore-sentry-mainnet
Browse files Browse the repository at this point in the history
fix(network): restore sentry as mainnet node
  • Loading branch information
hmoragrega authored Oct 26, 2023
2 parents aa40742 + d9b8c97 commit d348923
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 d348923

Please sign in to comment.