Merge branch 'master' into CWA-153-changenow-cryptocurrencies

# Conflicts:
#	.gitignore
#	lib/src/stores/address_book/address_book_store.dart
#	lib/src/stores/exchange/exchange_store.dart
#	lib/src/stores/send/send_store.dart
#	lib/src/stores/wallet_restoration/wallet_restoration_store.dart
This commit is contained in:
Oleksandr Sobol
2020-01-10 21:46:32 +02:00
5 changed files with 10 additions and 6 deletions
@@ -65,7 +65,8 @@ Future<void> replaceNodesMigration({@required Box<Node> nodes}) async {
'eu-node.cakewallet.io:18081':
Node(uri: 'xmr-node-eu.cakewallet.com:18081'),
'node.cakewallet.io:18081':
Node(uri: 'xmr-node-usa-east.cakewallet.com:18081')
Node(uri: 'xmr-node-usa-east.cakewallet.com:18081'),
'node.xmr.ru:13666': Node(uri: 'node.monero.net:18081')
};
nodes.values.forEach((Node node) async {
+1 -1
View File
@@ -21,7 +21,7 @@ Future<double> fetchPriceFor({CryptoCurrency crypto, FiatCurrency fiat}) async {
}
final responseJSON = json.decode(response.body) as Map<String, dynamic>;
final data = responseJSON['data'] as List<Map<String, dynamic>>;
final data = responseJSON['data'] as List<dynamic>;
for (final item in data) {
if (item['symbol'] == cryptoToString(crypto)) {