Updated on 2026-08-14

This commit is contained in:
Tangem 2024-12-09 10:54:57 +03:00
parent f4422dd3fb
commit 011786b765
4 changed files with 8 additions and 3 deletions

View file

@ -585,7 +585,7 @@ class DefaultWalletManagersFacade(
return withContext(dispatchers.io) {
val walletManager = getOrCreateWalletManager(userWalletId = userWalletId, network = currency.network)
val currencyType = cryptoCurrencyTypeConverter.convert(currency)
if (walletManager !is AssetRequirementsManager || !walletManager.hasRequirements(currencyType)) {
if (walletManager !is AssetRequirementsManager) {
return@withContext null
}

View file

@ -13,6 +13,7 @@ internal class SdkRequirementsConditionConverter : Converter<SdkRequirementsCond
feeCurrencySymbol = value.feeAmount.currencySymbol,
decimals = value.feeAmount.decimals,
)
is SdkRequirementsCondition.IncompleteTransaction -> TODO()
}
}
}