diff --git a/blockchains/ethereum/assets/0x362bc847A3a9637d3af6624EeC853618a43ed7D2/info.json b/blockchains/ethereum/assets/0x362bc847A3a9637d3af6624EeC853618a43ed7D2/info.json index 7440cb648..3c633ac4c 100644 --- a/blockchains/ethereum/assets/0x362bc847A3a9637d3af6624EeC853618a43ed7D2/info.json +++ b/blockchains/ethereum/assets/0x362bc847A3a9637d3af6624EeC853618a43ed7D2/info.json @@ -37,7 +37,7 @@ }, { "name": "facebook", - "url": "https://www.facebook.com/parsiqnet/" + "url": "https://facebook.com/parsiqnet/" }, { "name": "medium", diff --git a/blockchains/ethereum/assets/0xa211F450Ce88deb31D3F12Ae3C1EBf6b0e55A5d9/info.json b/blockchains/ethereum/assets/0xa211F450Ce88deb31D3F12Ae3C1EBf6b0e55A5d9/info.json index 92b4c7d79..a4d3216ce 100644 --- a/blockchains/ethereum/assets/0xa211F450Ce88deb31D3F12Ae3C1EBf6b0e55A5d9/info.json +++ b/blockchains/ethereum/assets/0xa211F450Ce88deb31D3F12Ae3C1EBf6b0e55A5d9/info.json @@ -37,7 +37,7 @@ }, { "name": "facebook", - "url": "https://www.facebook.com/parsiqnet/" + "url": "https://facebook.com/parsiqnet/" }, { "name": "medium", diff --git a/script/generic/asset-infos.ts b/script/generic/asset-infos.ts index 80f42fa69..e73d16a1c 100644 --- a/script/generic/asset-infos.ts +++ b/script/generic/asset-infos.ts @@ -28,7 +28,7 @@ const linksKeys = { "telegram_news": "https://t.me/", // read-only announcement channel "medium": "", // url contains 'medium.com' "discord": "https://discord.com/", - "reddit": "https://redditX.com/", + "reddit": "https://reddit.com/", "facebook": "https://facebook.com/", "youtube": "https://youtube.com/", "coinmarketcap": "https://coinmarketcap.com/", @@ -159,7 +159,7 @@ function isInfoLinksValid(links: unknown, path: string, address: string, chain: if (!Object.prototype.hasOwnProperty.call(linksKeys, fname)) { return [`Not supported field in links '${fname}'. Supported keys: ${linksKeysString}`, ""]; } - const prefix = linksKeys[f]; + const prefix = linksKeys[fname]; if (prefix) { if (!furl.startsWith(prefix)) { return [`Links field '${fname}': '${furl}' must start with '${prefix}'. Supported keys: ${linksKeysString}`, ""];