Updated on 2026-08-14

This commit is contained in:
Tangem 2023-11-16 12:27:10 +03:00
parent 83d5713894
commit 01f7a64b0b

View file

@ -606,7 +606,7 @@ internal class AddCustomTokenViewModel @Inject constructor(
val savedTokenId = if (token.isCustom) null else token.id.rawCurrencyId
val sameId = foundToken?.id == savedTokenId
val sameAddress = contractAddress == token.contractAddress
val sameAddress = contractAddress.equals(token.contractAddress, ignoreCase = true)
val sameBlockchain = networkId == token.network.id.value
val isSameDerivationPath = getDerivationPath()?.rawPath == token.network.derivationPath.value