From d9b8c97fe2b34594a009002605b228fc732f0168 Mon Sep 17 00:00:00 2001 From: Hilari Moragrega Date: Thu, 26 Oct 2023 10:51:20 +0200 Subject: [PATCH] fix(network): restore sentry as mainnet network --- client/common/network.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/common/network.go b/client/common/network.go index 70f8bd3e..04cbf91a 100644 --- a/client/common/network.go +++ b/client/common/network.go @@ -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"