Skip to content
This repository has been archived by the owner on Jun 27, 2022. It is now read-only.

disable solana tokens #735

Merged
merged 2 commits into from
Dec 10, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions packages/cryptoassets/src/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import trc20tokens from "../data/trc20";
import bep20tokens from "../data/bep20";
import polygonTokens from "../data/polygon-erc20";
import asatokens from "../data/asa";
import spltokens from "../data/spl";
//import spltokens from "../data/spl";
const emptyArray = [];
const tokensArray: TokenCurrency[] = [];
const tokensArrayWithDelisted: TokenCurrency[] = [];
Expand All @@ -22,7 +22,7 @@ addTokens(trc10tokens.map(convertTRONTokens("trc10")));
addTokens(trc20tokens.map(convertTRONTokens("trc20")));
addTokens(bep20tokens.map(convertBEP20));
addTokens(asatokens.map(convertAlgorandASATokens));
addTokens(spltokens.map(convertSplTokens));
//addTokens(spltokens.map(convertSplTokens));
type TokensListOptions = {
withDelisted: boolean;
};
Expand Down Expand Up @@ -307,6 +307,7 @@ function convertTRONTokens(type: "trc10" | "trc20") {
});
}

/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
function convertSplTokens([
chainId,
name,
Expand Down