Updated on 2026-08-14

This commit is contained in:
Tangem 2025-10-28 16:02:48 +03:00
parent 31be70ecf3
commit 896b838d80
3 changed files with 3 additions and 4 deletions

View file

@ -68,7 +68,6 @@ class ResponseCryptoCurrenciesFactory @Inject constructor(
responseToken: UserTokensResponse.Token,
userWallet: UserWallet,
network: Network,
accountIndex: DerivationIndex? = null,
): CryptoCurrency? {
var blockchain = Blockchain.fromNetworkId(responseToken.networkId)
if (blockchain == null || blockchain == Blockchain.Unknown) {
@ -82,7 +81,7 @@ class ResponseCryptoCurrenciesFactory @Inject constructor(
val sdkToken = createSdkToken(responseToken)
return if (sdkToken == null) {
createCoin(blockchain, responseToken, network, accountIndex)
createCoin(blockchain, responseToken, network)
} else {
createToken(blockchain, sdkToken, network)
}