mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-23 06:38:35 +02:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user