Skip to content

Commit

Permalink
Updated by verifyMainnetShortlist script
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user authored and VGau committed Apr 10, 2024
1 parent aed2d43 commit 1e44fdc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions json/linea-mainnet-token-shortlist.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"versions": [
{
"major": 1,
"minor": 38,
"minor": 37,
"patch": 0
}
],
Expand Down Expand Up @@ -619,7 +619,6 @@
"chainURI": "https://lineascan.build/block/0",
"tokenId": "https://lineascan.build/address/0x15EEfE5B297136b8712291B632404B66A8eF4D25",
"tokenType": [
"bridge-reserved",
"external-bridge"
],
"address": "0x15EEfE5B297136b8712291B632404B66A8eF4D25",
Expand Down
2 changes: 1 addition & 1 deletion src/services/token.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ export class TokenService {
default:
throw new Error('Invalid chainId');
}
if (verifiedToken && token.tokenType.includes('external-bridge')) {
if (verifiedToken && token.tokenType.includes('external-bridge') && !verifiedToken.tokenType.includes('external-bridge')) {
verifiedToken.tokenType.push('external-bridge');
}

Expand Down

0 comments on commit 1e44fdc

Please # to comment.