Updated on 2026-08-14
This commit is contained in:
parent
069ff2f4e1
commit
25086c03af
1 changed files with 2 additions and 1 deletions
|
|
@ -369,7 +369,8 @@ abstract class BaseCurrencyStatusOperations(
|
|||
multiWalletCryptoCurrenciesSupplier.getSyncOrNull(
|
||||
params = MultiWalletCryptoCurrenciesProducer.Params(userWalletId),
|
||||
)
|
||||
?.firstOrNull { it.network.id == networkId && it.network.derivationPath == derivationPath }
|
||||
?.filterIsInstance<CryptoCurrency.Coin>()
|
||||
?.firstOrNull { it.network.id == networkId }
|
||||
?: error("Unable to create network coin with ID: $networkId and derivation path: $derivationPath")
|
||||
} else {
|
||||
currenciesRepository.getNetworkCoin(userWalletId, networkId, derivationPath)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue