Skip to content

Commit

Permalink
fix: removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
ignaciosantise committed Feb 2, 2024
1 parent e66496b commit a0ee040
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions wallets/rn_cli_wallet/src/utils/HelperUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,5 @@ export function isSolanaChain(chain: string) {
* Formats chainId to its name
*/
export function formatChainName(chainId: string) {
return (
EIP155_CHAINS[chainId as TEIP155Chain]?.name ??
COSMOS_MAINNET_CHAINS[chainId as TCosmosChain]?.name ??
SOLANA_CHAINS[chainId as TSolanaChain]?.name ??
chainId
);
return EIP155_CHAINS[chainId as TEIP155Chain]?.name ?? chainId;
}

0 comments on commit a0ee040

Please sign in to comment.