mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-10 12:54:38 +00:00
Revert SimpleSwap changes since we disabled it for fixed rate
This commit is contained in:
parent
f14c01303f
commit
a9f0466825
1 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ class SimpleSwapExchangeProvider extends ExchangeProvider {
|
|||
'currency_from': fromCurrency,
|
||||
'currency_to': toCurrency,
|
||||
'amount': amount.toString(),
|
||||
'fixed': (!isFixedRateMode).toString()
|
||||
'fixed': isFixedRateMode.toString()
|
||||
};
|
||||
final uri = Uri.https(apiAuthority, getEstimatePath, params);
|
||||
final response = await get(uri);
|
||||
|
@ -86,7 +86,7 @@ class SimpleSwapExchangeProvider extends ExchangeProvider {
|
|||
"currency_from": _normalizeCryptoCurrency(_request.from),
|
||||
"currency_to": _normalizeCryptoCurrency(_request.to),
|
||||
"amount": _request.amount,
|
||||
"fixed": !isFixedRateMode,
|
||||
"fixed": isFixedRateMode,
|
||||
"user_refund_address": _request.refundAddress,
|
||||
"address_to": _request.address
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue