CWA-169 | added call of loadLimits() to changeProvider() and reset() in exchange store. Added btc-xmr pair, added conversion units to crypto amounts to fetchLimits() in MorphTokenExchangeProvider

This commit is contained in:
Oleksandr Sobol
2020-02-06 20:30:32 +02:00
parent 95222ecbae
commit 348d1080c9
2 changed files with 25 additions and 2 deletions
@@ -79,6 +79,7 @@ abstract class ExchangeStoreBase with Store {
this.provider = provider;
depositAmount = '';
receiveAmount = '';
loadLimits();
}
@action
@@ -192,6 +193,7 @@ abstract class ExchangeStoreBase with Store {
provider = XMRTOExchangeProvider();
depositCurrency = CryptoCurrency.xmr;
receiveCurrency = CryptoCurrency.btc;
loadLimits();
}
List<ExchangeProvider> providersForCurrentPair() {