Skip to content

Commit

Permalink
fixing network identifier call
Browse files Browse the repository at this point in the history
  • Loading branch information
pellicceama committed Apr 2, 2023
1 parent 3db6524 commit 2b17a4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/repo/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2b17a4c

Please sign in to comment.