Revert SimpleSwap changes since we disabled it for fixed rate

OmarHatem committed Dec 6, 2022 at 20:10 UTC a9f0466825247f6e2a877aac3799851adb1bd142
1 file changed +2 -2
lib/exchange/simpleswap/simpleswap_exchange_provider.dart
+2 -2
@@ -53,7 +53,7 @@ class SimpleSwapExchangeProvider extends ExchangeProvider {
53 'currency_from': fromCurrency,
54 'currency_to': toCurrency,
55 'amount': amount.toString(),
56 - 'fixed': (!isFixedRateMode).toString()
56 + 'fixed': isFixedRateMode.toString()
57 };
58 final uri = Uri.https(apiAuthority, getEstimatePath, params);
59 final response = await get(uri);
@@ -86,7 +86,7 @@ class SimpleSwapExchangeProvider extends ExchangeProvider {
86 "currency_from": _normalizeCryptoCurrency(_request.from),
87 "currency_to": _normalizeCryptoCurrency(_request.to),
88 "amount": _request.amount,
89 - "fixed": !isFixedRateMode,
89 + "fixed": isFixedRateMode,
90 "user_refund_address": _request.refundAddress,
91 "address_to": _request.address
92 };