diff --git a/src/tokenlist/index.ts b/src/tokenlist/index.ts index 3bbbbed..a36dd92 100644 --- a/src/tokenlist/index.ts +++ b/src/tokenlist/index.ts @@ -77,7 +77,7 @@ export async function needBeRegenerateTokenlist(directory: string): Promise { +async function ingestNewAssets(newAssets: ExtTokenInfo[], directory: string, source?: string): Promise { // take a list of tokens and add them to the repo if they don't already exist await Promise.all(newAssets.map>(token => { @@ -89,7 +89,7 @@ async function ingestNewAssets(newAssets: ExtTokenInfo[], directory: string, sou fs.mkdirSync(tokenDir, { recursive: true }); } - const parsedToken = await Asset.fromTokenlistTokenInfo(token, source, verificationType); + const parsedToken = await Asset.fromTokenlistTokenInfo(token, source); await parsedToken.logo.downloadAndPersistLogos(tokenDir); // console.log('IngestNewToken saving token ' + JSON.stringify(parsedToken));