Skip to content

Commit

Permalink
fix: erc20 forced symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
0xKheops committed Oct 19, 2023
1 parent 6e1153d commit 52b8160
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion chaindata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2665,7 +2665,8 @@
"symbol": "MGX",
"decimals": 18,
"ed": "0",
"onChainId": 0
"onChainId": 0,
"coingeckoId": "mangata-x"
}
]
}
Expand Down
4 changes: 2 additions & 2 deletions scripts/build/steps/addEvmNetworks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ export const addEvmNetworks = async () => {
ti.contractAddress.toLowerCase() === token.contractAddress.toLowerCase(),
)
if (tokenInfo) {
token.symbol = tokenInfo.symbol
token.decimals = tokenInfo.decimals
if (!token.symbol) token.symbol = tokenInfo.symbol
if (!token.decimals) token.decimals = tokenInfo.decimals
}
}
}
Expand Down

0 comments on commit 52b8160

Please sign in to comment.