From 2b17a4c3b169b736d5a84385d37ecf832cde2065 Mon Sep 17 00:00:00 2001 From: Amadeo Pellicce Date: Sun, 2 Apr 2023 10:57:41 -0700 Subject: [PATCH] fixing network identifier call --- src/repo/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/repo/index.ts b/src/repo/index.ts index a94e559..a7def91 100644 --- a/src/repo/index.ts +++ b/src/repo/index.ts @@ -89,7 +89,7 @@ export async function addIdentifierToNetwork(dir: string, networkCode: string, i throw new Error('Identifier key ' + identifierKey + ' is not allowed for networks'); } - const networkInfoFilePath = path.join(dir, getDirPathForTokenlist(networkCode), 'info.json'); + const networkInfoFilePath = path.join(dir, getDirPathForNetworkCode(networkCode), 'info.json'); if(!fs.existsSync(networkInfoFilePath)) { console.error('addIdentifierToNetwork Cannot find asset info file for network ' + networkCode + ' in location ' + networkInfoFilePath);