Skip to content

Commit

Permalink
Fix missing SPL-BAT token due to missing coingeckoId (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
onyb committed Dec 14, 2023
1 parent 3289003 commit 0a8a84a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "token-lists",
"version": "1.17.2",
"version": "1.18.0",
"description": "Manages custom token lists for Brave Wallet",
"dependencies": {
"@metamask/contract-metadata": "git+https://git@github.com/MetaMask/contract-metadata.git",
Expand Down
2 changes: 2 additions & 0 deletions scripts/util.cjs
Expand Up @@ -659,6 +659,7 @@ const injectCoingeckoIds = (tokensListMap, coingeckoIds) =>
`[WARN] Coingecko ID missing:
chainId=${token.chainId} contract=${contractAddress}`
)
acc[contractAddress] = token
return acc
}

Expand All @@ -667,6 +668,7 @@ const injectCoingeckoIds = (tokensListMap, coingeckoIds) =>
`[ERR] Coingecko ID mismatch:
want=${coingeckoId} got=${token.coingeckoId} contract=${contractAddress}`
)
acc[contractAddress] = token
return acc
}

Expand Down

0 comments on commit 0a8a84a

Please sign in to comment.