From b710573f4e877e16e98df2ec8e85f93f5d88adff Mon Sep 17 00:00:00 2001 From: abefernan <44572727+abefernan@users.noreply.github.com> Date: Wed, 26 Jul 2023 09:45:41 +0200 Subject: [PATCH] Remove comments --- context/ChainsContext/service.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/context/ChainsContext/service.tsx b/context/ChainsContext/service.tsx index 18ef538..fc3b5b7 100644 --- a/context/ChainsContext/service.tsx +++ b/context/ChainsContext/service.tsx @@ -58,7 +58,6 @@ export const getChainItemFromRegistry = async (chainName: string, isTestnet?: bo const chainGhUrl = registryGhUrl + chainGhPath + "/chain.json"; const chain: RegistryChain = await requestJson(chainGhUrl); - // const chain: RegistryChain = await (await fetch(chainGhUrl)).json(); return chain; }; @@ -67,7 +66,6 @@ export const getAssetItemsFromRegistry = async (chainName: string, isTestnet?: b const assetsGhUrl = registryGhUrl + assetsGhPath + "/assetlist.json"; const assets: readonly RegistryAsset[] = (await requestJson(assetsGhUrl)).assets; - // const assets: readonly RegistryAsset[] = (await (await fetch(assetsGhUrl)).json()).assets; return assets; };