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

listchannels throws DEPRECATED API USED message #7652

Closed
gallizoltan opened this issue Sep 8, 2024 · 2 comments · Fixed by #7663
Closed

listchannels throws DEPRECATED API USED message #7652

gallizoltan opened this issue Sep 8, 2024 · 2 comments · Fixed by #7663
Assignees
Milestone

Comments

@gallizoltan
Copy link
Contributor

Issue and Steps to Reproduce

Since I've updated to v24.08 every time I call listchannels I've got a BROKEN log message. For example, I call:

$ lightning-cli listchannels 860433x1035x0

Then in the logs this appears:

2024-09-08T09:08:33.909Z **BROKEN** plugin-topology: DEPRECATED API USED: listchannels.include_private by \"cli:listchannels#1264712/cln:listchannels#204126\"

I'm not sure what it means and what to do? What is the include_private? I can't see it among the listchannels parameters.

It is especially frustrating for me because I used to run rebalance, which calls tons of listchannels.

getinfo output

{
   "id": "xxx",
   "alias": "",
   "color": "ffffff",
   "num_peers": 40,
   "num_pending_channels": 0,
   "num_active_channels": 25,
   "num_inactive_channels": 0,
   "address": [
      {
         "type": "torv3",
         "address": "xxx.onion",
         "port": 9735
      }
   ],
   "binding": [
      {
         "type": "ipv6",
         "address": "::",
         "port": 9735
      },
      {
         "type": "ipv4",
         "address": "0.0.0.0",
         "port": 9735
      }
   ],
   "version": "v24.08-modded",
   "blockheight": 860443,
   "network": "bitcoin",
   "fees_collected_msat": 775363681,
   "lightning-dir": "/home/user/.lightning/bitcoin",
   "our_features": {
      "init": "08a0800a8a59a1",
      "node": "88a0800a8a59a1",
      "channel": "",
      "invoice": "02000002024100"
   }
}
@vincenzopalazzo vincenzopalazzo self-assigned this Sep 8, 2024
@vincenzopalazzo vincenzopalazzo modified the milestones: v24.08.1, v24.11 Sep 8, 2024
@grubles
Copy link
Contributor

grubles commented Sep 12, 2024

Can confirm this happening for me too.

@rustyrussell rustyrussell modified the milestones: v24.11, v24.08.1 Sep 13, 2024
@rustyrussell
Copy link
Contributor

I've got the fix, now to figure out why CI didn't detect this!

rustyrussell added a commit to rustyrussell/lightning that referenced this issue Sep 13, 2024
It's an output field (which we don't complain about), not an input field!

Fixes: ElementsProject#7652
Changelog-Fixed: Logging: removed bogus "**BROKEN** plugin-topology: DEPRECATED API USED: listchannels.include_private" message.
Signed-off-by: Rusty Russell <[email protected]>
ShahanaFarooqui pushed a commit to ShahanaFarooqui/lightning that referenced this issue Sep 17, 2024
It's an output field (which we don't complain about), not an input field!

Fixes: ElementsProject#7652
Changelog-Fixed: Logging: removed bogus "**BROKEN** plugin-topology: DEPRECATED API USED: listchannels.include_private" message.
Signed-off-by: Rusty Russell <[email protected]>
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

Successfully merging a pull request may close this issue.

4 participants