mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-26 06:08:40 +01:00
minor fix
This commit is contained in:
@@ -144,7 +144,8 @@ class EVMChainClient {
|
||||
|
||||
final jsonResponse = json.decode(response.body) as Map<String, dynamic>;
|
||||
|
||||
if (response.statusCode >= 200 && response.statusCode < 300 && jsonResponse['status'] != 0) {
|
||||
if (response.statusCode >= 200 && response.statusCode < 300 && jsonResponse['status'] != 0 &&
|
||||
jsonResponse['result'] is List) {
|
||||
final symbol = EVMChainUtils.getFeeCurrency(chainId);
|
||||
|
||||
return (jsonResponse['result'] as List)
|
||||
|
||||
@@ -333,14 +333,6 @@ packages:
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "1.1.0"
|
||||
frontend_server_client:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: frontend_server_client
|
||||
sha256: f64a0333a82f30b0cca061bc3d143813a486dc086b574bfb233b7c1372427694
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "4.0.0"
|
||||
glob:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
||||
Reference in New Issue
Block a user