minor fix

Omar committed Jun 30, 2026 at 02:40 UTC 8768aa8995e8f84b7e12331a5c518486167e585f
2 files changed +2 -9
cw_evm/lib/clients/evm_chain_client.dart
+2 -1
@@ -144,7 +144,8 @@ class EVMChainClient {
144
145 final jsonResponse = json.decode(response.body) as Map<String, dynamic>;
146
147 - if (response.statusCode >= 200 && response.statusCode < 300 && jsonResponse['status'] != 0) {
147 + if (response.statusCode >= 200 && response.statusCode < 300 && jsonResponse['status'] != 0 &&
148 + jsonResponse['result'] is List) {
149 final symbol = EVMChainUtils.getFeeCurrency(chainId);
150
151 return (jsonResponse['result'] as List)
cw_monero/pubspec.lock
-8
@@ -333,14 +333,6 @@ packages:
333 url: "https://pub.dev"
334 source: hosted
335 version: "1.1.0"
336 - frontend_server_client:
337 - dependency: transitive
338 - description:
339 - name: frontend_server_client
340 - sha256: f64a0333a82f30b0cca061bc3d143813a486dc086b574bfb233b7c1372427694
341 - url: "https://pub.dev"
342 - source: hosted
343 - version: "4.0.0"
336 glob:
337 dependency: transitive
338 description: