Updated on 2026-08-14

This commit is contained in:
Tangem 2026-04-11 18:39:37 +08:00
commit 1faf061218

View file

@ -1282,7 +1282,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 createEmptyAmountState(): SwapState {