diff --git a/context/ChainsContext/service.tsx b/context/ChainsContext/service.tsx index 0a62760..62e1cc8 100644 --- a/context/ChainsContext/service.tsx +++ b/context/ChainsContext/service.tsx @@ -126,10 +126,7 @@ export const getChainFromRegistry = async (chainName: string, isTestnet?: boolea assets: registryAssets, }; - assert( - !isChainInfoFilled(chain), - `Chain ${chainName} loaded from the registry with missing data`, - ); + assert(isChainInfoFilled(chain), `Chain ${chainName} loaded from the registry with missing data`); return chain; };