Updated on 2026-08-14
This commit is contained in:
parent
8467ada25d
commit
a90cb2dadb
1 changed files with 2 additions and 1 deletions
|
|
@ -174,7 +174,8 @@ internal class DefaultCurrencyChecksRepository(
|
|||
cryptoCurrencyStatus: CryptoCurrencyStatus,
|
||||
): BigDecimal? {
|
||||
val token = cryptoCurrencyStatus.currency as? CryptoCurrency.Token ?: return null
|
||||
if (cryptoCurrencyStatus.value.yieldSupplyStatus?.isActive == false) return null
|
||||
val isActive = cryptoCurrencyStatus.value.yieldSupplyStatus?.isActive ?: false
|
||||
if (!isActive) return null
|
||||
return runCatching {
|
||||
val walletManager = walletManagersFacade.getOrCreateWalletManager(
|
||||
userWalletId = userWalletId,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue