Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpc: json response error when tried to call listchannel using rpc call #87

Open
KAVAN-DESAI opened this issue Aug 2, 2022 · 0 comments
Assignees

Comments

@KAVAN-DESAI
Copy link
Member

StackTrace

┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ #0   LogManager.debug (package:cln_common/src/logger/logger_manager.dart:16:13)
│ #1   new AppChannels.fromJSON (package:clnapp/model/app_model/list_channels.dart:39:28)
├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
│ 🐛 {source: 02312627fdf07fbdd7e5ddb136611bdde9b00d26821d14d94891395452f67af248, destination: 02ec99e98f3f3a5e300bebb12a49d5b72d77a55796808a8f5b2e6b42f3db51c7cf, short_channel_id: 2281622x42x1, public: true, satoshis: 20000, amount_msat: 20000000msat, message_flags: 1, channel_flags: 0, active: true, last_update: 1658752225, base_fee_millisatoshi: 1000, fee_per_millionth: 1, delay: 40, htlc_minimum_msat: 1000msat, htlc_maximum_msat: 20000000msat, features: }
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
00:46 +2 -2: clnapp unix_client tests API List Channels [E]                                                                                                                                        
  type 'String' is not a subtype of type 'Map<String, dynamic>' in type cast
  package:clnapp/model/app_model/list_channels.dart 44:9   new AppChannels.fromJSON
  package:clnapp/model/app_model/list_channels.dart 15:41  new AppListChannels.fromJSON.<fn>
  dart:_internal                                           ListIterable.toList
  package:clnapp/model/app_model/list_channels.dart 16:12  new AppListChannels.fromJSON
  package:clnapp/api/cln/cln_client.dart 116:53            CLNApi.listChannels.<fn>
  package:clightning_rpc/src/clightning_rpc.dart 36:22     RPCClient.call
  
@vincenzopalazzo vincenzopalazzo self-assigned this Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants