Updated on 2026-08-14
This commit is contained in:
parent
8962f8d333
commit
965a6f8e46
1 changed files with 2 additions and 2 deletions
|
|
@ -65,8 +65,8 @@ internal fun getCoinIconUrl(blockchain: Blockchain): String? {
|
|||
internal fun List<UserTokensResponse.Token>.hasCoinForToken(token: CryptoCurrency.Token): Boolean {
|
||||
return any {
|
||||
val blockchain = getBlockchain(networkId = token.network.id)
|
||||
|
||||
it.id == blockchain.toCoinId()
|
||||
val tokenDerivation = token.network.derivationPath.value
|
||||
it.id == blockchain.toCoinId() && it.derivationPath == tokenDerivation
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue