Updated on 2026-08-14
This commit is contained in:
parent
517f260a70
commit
cf79fa950b
1 changed files with 3 additions and 1 deletions
|
|
@ -67,7 +67,9 @@ class GetSwapSupportedPairsUseCase(
|
|||
// Search available to swap currency
|
||||
.filter { pair ->
|
||||
cryptoCurrencyList.any { currencyStatus ->
|
||||
currencyStatus.id == pair.to.currency.id
|
||||
// Allowed only on networks without tx extras (e.i. memo and destination tag)
|
||||
val isExtrasSupported = currencyStatus.network.transactionExtrasType.isTxExtrasSupported()
|
||||
currencyStatus.id == pair.to.currency.id && !isExtrasSupported
|
||||
}
|
||||
}.map { pair -> SwapCryptoCurrency(groupingCurrency(pair), pair.providers) }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue