From 99b2a186d4842a3e1ab0bf9e6f3debb0137b786b Mon Sep 17 00:00:00 2001 From: Sebastian Scatularo Date: Mon, 26 Jun 2023 16:15:18 -0300 Subject: [PATCH] #212 - update injective endpoint to point to general grpc instead of k8s cluster --- src/utils/consts.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/consts.ts b/src/utils/consts.ts index 6ca6fb2e9..f12acdf68 100644 --- a/src/utils/consts.ts +++ b/src/utils/consts.ts @@ -722,7 +722,7 @@ export const APTOS_NATIVE_TOKEN_KEY = "0x1::aptos_coin::AptosCoin"; export const getInjectiveNetworkName = () => { if (CLUSTER === "mainnet") { - return Network.MainnetK8s; + return Network.Mainnet; } else if (CLUSTER === "testnet") { return Network.TestnetK8s; } @@ -730,7 +730,7 @@ export const getInjectiveNetworkName = () => { }; export const getInjectiveNetwork = () => { if (CLUSTER === "mainnet") { - return Network.MainnetK8s; + return Network.Mainnet; } else if (CLUSTER === "testnet") { return Network.TestnetK8s; } @@ -739,7 +739,7 @@ export const getInjectiveNetwork = () => { export const getInjectiveNetworkInfo = () => { if (CLUSTER === "mainnet") { - return getNetworkInfo(Network.MainnetK8s); + return getNetworkInfo(Network.Mainnet); } else if (CLUSTER === "testnet") { return getNetworkInfo(Network.TestnetK8s); }