CWA-199 | changed possibility to enter amount in the deposit card only (exchange page); changed request for XMRTOExchangeProvider in the createTrade() (exchange_store); fixed calculation limits for XMR in the fetchLimits(), fixed post body in the createTrade() (xmrto_exchange_provider); created limits_format

This commit is contained in:
Oleksandr Sobol
2020-04-13 19:05:27 +03:00
parent b85c332b24
commit ef750cb454
4 changed files with 43 additions and 42 deletions
+4 -4
View File
@@ -157,13 +157,13 @@ abstract class ExchangeStoreBase with Store {
if (provider is XMRTOExchangeProvider) {
request = XMRTOTradeRequest(
to: receiveCurrency,
from: depositCurrency,
amount: receiveAmount,
to: receiveCurrency,
amount: depositAmount,
address: receiveAddress,
refundAddress: depositAddress);
amount = receiveAmount;
currency = receiveCurrency;
amount = depositAmount;
currency = depositCurrency;
}
if (provider is ChangeNowExchangeProvider) {