Updated on 2026-08-14
This commit is contained in:
parent
649974f019
commit
dff86fd4dd
1 changed files with 4 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
package com.tangem.tap.features.wallet.redux.middlewares
|
||||
|
||||
import com.tangem.blockchain.blockchains.solana.SolanaWalletManager
|
||||
import com.tangem.blockchain.common.*
|
||||
import com.tangem.blockchain.extensions.Result
|
||||
import com.tangem.common.extensions.isZero
|
||||
|
|
@ -235,7 +236,9 @@ class MultiWalletMiddleware {
|
|||
token, blockchainNetwork.blockchain, blockchainNetwork.derivationPath
|
||||
)
|
||||
}))
|
||||
walletManager.addTokens(tokens)
|
||||
// we can't add Solana token's - they are not supported now
|
||||
if (walletManager !is SolanaWalletManager) walletManager.addTokens(tokens)
|
||||
|
||||
currenciesRepository.saveUpdatedCurrency(
|
||||
cardId = scanResponse.card.cardId,
|
||||
blockchainNetwork = BlockchainNetwork.fromWalletManager(walletManager)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue