From 48f4d621f90c024cb9142e97172d572f69c7e4c1 Mon Sep 17 00:00:00 2001 From: Kant Date: Wed, 16 Oct 2024 17:58:24 +0200 Subject: [PATCH] fix: non existing param used for SPL Tokens --- libs/ledgerjs/packages/cryptoassets/src/tokens.ts | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/libs/ledgerjs/packages/cryptoassets/src/tokens.ts b/libs/ledgerjs/packages/cryptoassets/src/tokens.ts index cac0d4f98e63..58c9b9176bf3 100644 --- a/libs/ledgerjs/packages/cryptoassets/src/tokens.ts +++ b/libs/ledgerjs/packages/cryptoassets/src/tokens.ts @@ -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", @@ -428,7 +421,7 @@ function convertSplTokens([ name, tokenType: "spl", ticker: symbol, - disableCountervalue: !enableCountervalues, + disableCountervalue: false, units: [ { name,