Updated on 2026-08-14
This commit is contained in:
parent
405912fd54
commit
3c00bf1966
1 changed files with 5 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ import com.tangem.blockchainsdk.utils.toBlockchain
|
|||
import com.tangem.data.staking.store.StakeKitBalancesStore
|
||||
import com.tangem.domain.card.common.TapWorkarounds.isWallet2
|
||||
import com.tangem.domain.models.currency.CryptoCurrency
|
||||
import com.tangem.domain.models.scan.ProductType
|
||||
import com.tangem.domain.models.staking.StakingBalance
|
||||
import com.tangem.domain.models.staking.StakingID
|
||||
import com.tangem.domain.models.wallet.UserWallet
|
||||
|
|
@ -156,6 +157,10 @@ internal class DefaultStakingRepository(
|
|||
return false
|
||||
}
|
||||
|
||||
if (userWallet.scanResponse.productType == ProductType.Note) {
|
||||
return true
|
||||
}
|
||||
|
||||
val blockchainId = cryptoCurrency.network.rawId
|
||||
return when {
|
||||
isSolana(blockchainId) -> INVALID_BATCHES_FOR_SOLANA.contains(userWallet.scanResponse.card.batchId)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue