File tree Expand file tree Collapse file tree
providers/ethereum/networks Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ const unicodeLiteral = (str: string) => {
1616 return result ;
1717} ;
1818export const getRTLOLTLOSafeString = ( str : string ) : string => {
19- const isrtloltlo = / [ \u202E \u200F ] / . test ( str ) || / [ \u202D \u200E ] / . test ( str ) ;
20- if ( isrtloltlo ) return unicodeLiteral ( str ) ;
19+ const dangerous = / [ \u202A - \ u202E\u2066 - \u2069 \u200E \u200F \u061C ] / . test ( str ) ;
20+ if ( dangerous ) return unicodeLiteral ( str ) ;
2121 return str ;
2222} ;
Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ const maticOptions: EvmNetworkOptions = {
1414 blockExplorerAddr : 'https://zkevm.polygonscan.com/address/[[address]]' ,
1515 chainID : '0x44d' ,
1616 isTestNetwork : false ,
17- currencyName : 'POL ' ,
18- currencyNameLong : 'Polygon POL ' ,
17+ currencyName : 'ETH ' ,
18+ currencyNameLong : 'Ethereum ' ,
1919 node : 'wss://nodes.mewapi.io/ws/maticzk' ,
2020 icon,
21- coingeckoID : 'polygon-ecosystem-token ' ,
21+ coingeckoID : 'ethereum ' ,
2222 coingeckoPlatform : CoingeckoPlatform . MaticZK ,
2323 NFTHandler : shNFTHandler ,
2424 assetsInfoHandler,
You can’t perform that action at this time.
0 commit comments