Updated on 2026-08-14

This commit is contained in:
Tangem 2026-04-10 19:46:22 +04:00
parent badd93f388
commit e0d6b165c0

View file

@ -1263,7 +1263,7 @@ internal class SwapInteractorImpl @AssistedInject constructor(
)
?.filterIsInstance<CryptoCurrency.Coin>()
?.firstOrNull { it.network.id == network.id && it.network.derivationPath == network.derivationPath }
?: error("Unable to create network coin with ID: ${network.id}")
?: currenciesRepository.createCoinCurrency(network)
}
private suspend fun isAllowedToSpend(