Updated on 2026-08-14
This commit is contained in:
parent
799a38655e
commit
4570bc334c
54 changed files with 178 additions and 183 deletions
|
|
@ -568,7 +568,7 @@ internal class DefaultNFTRepository @Inject constructor(
|
|||
|
||||
private fun Network.canHandleNFTs(userWalletId: UserWalletId): Boolean {
|
||||
val userWallet = userWalletsListRepository.getSyncStrict(userWalletId)
|
||||
val blockchain = Blockchain.fromNetworkId(backendId) ?: return false
|
||||
val blockchain = Blockchain.fromNetworkId(rawId) ?: return false
|
||||
|
||||
return blockchain.canHandleNFTs() &&
|
||||
userWallet.canHandleToken(blockchain, excludedBlockchains)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue