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