skip Swaps.xyz for external sends (#3092)

This commit is contained in:
Serhii
2026-03-14 23:15:19 +01:00
committed by GitHub
parent 2de86c80a8
commit 412210df46
@@ -1008,6 +1008,13 @@ abstract class ExchangeViewModelBase extends WalletChangeListenerViewModel with
final provider = providersSnapshot[i];
final providerRate = ratesSnapshot[i];
// Skip Swaps.xyz when sending from external
if (isSendFromExternal &&
provider.description == ExchangeProviderDescription.swapsXyz) {
printV('Skipping Swaps.xyz for external send');
continue;
}
if (!(await provider.checkIsAvailable())) continue;
bestRate = providerRate;