Skip to content

Commit

Permalink
Rename binance-smart-chain to bnb-chain for dappradar list gen (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
onyb authored Dec 12, 2023
1 parent a56a4cd commit ca9a775
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "token-lists",
"version": "1.15.0",
"version": "1.16.0",
"description": "Manages custom token lists for Brave Wallet",
"dependencies": {
"@metamask/contract-metadata": "git+https://[email protected]/MetaMask/contract-metadata.git",
Expand Down
6 changes: 3 additions & 3 deletions scripts/util.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ const generateDappLists = async () => {
'solana',
'ethereum',
'polygon',
'binance-smart-chain',
'bnb-chain',
'optimism',
'aurora',
'avalanche',
Expand All @@ -451,9 +451,9 @@ const generateDappLists = async () => {
const dappLists = {}
for (let chain of chains) {
const dapps = await generateDappListsForChain(chain)
// Replace 'binance-smart-chain' with 'binance_smart_chain' so it plays well
// Replace 'bnb-chain' with 'binance_smart_chain' so it plays well
// with the browser JSON parser.
if (chain === 'binance-smart-chain') {
if (chain === 'bnb-chain') {
chain = 'binance_smart_chain'
}

Expand Down

0 comments on commit ca9a775

Please sign in to comment.