Skip to content

Commit

Permalink
fix: non existing param used for SPL Tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
Justkant committed Nov 4, 2024
1 parent 1a949f0 commit 48f4d62
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions libs/ledgerjs/packages/cryptoassets/src/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -406,14 +406,7 @@ function convertElrondESDTTokens([
};
}

function convertSplTokens([
chainId,
name,
symbol,
address,
decimals,
enableCountervalues,
]: SPLToken): TokenCurrency {
function convertSplTokens([chainId, name, symbol, address, decimals]: SPLToken): TokenCurrency {
const chainIdToCurrencyId = {
101: "solana",
102: "solana_testnet",
Expand All @@ -428,7 +421,7 @@ function convertSplTokens([
name,
tokenType: "spl",
ticker: symbol,
disableCountervalue: !enableCountervalues,
disableCountervalue: false,
units: [
{
name,
Expand Down

0 comments on commit 48f4d62

Please sign in to comment.