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

peerswap-listpeers missing channels field due to CLN API removal #299

Closed
grubles opened this issue Jun 17, 2024 · 1 comment · Fixed by #300
Closed

peerswap-listpeers missing channels field due to CLN API removal #299

grubles opened this issue Jun 17, 2024 · 1 comment · Fixed by #300
Labels
cln Only CLN related deprecated cln api Related to CLN API deprecations

Comments

@grubles
Copy link
Collaborator

grubles commented Jun 17, 2024

CLN v24.05 removed the channels field from listpeers. This means the peerswap-listpeers command is also now missing that field. Reported by @Impa10r on Discord.

How difficult will it be to use CLN's listpeerchannels instead?

Related to #194.

@grubles grubles added cln Only CLN related deprecated cln api Related to CLN API deprecations labels Jun 17, 2024
@Impa10r
Copy link
Contributor

Impa10r commented Jun 18, 2024

CLN v24.05 removed the channels field from listpeers. This means the peerswap-listpeers command is also now missing that field. Reported by @Impa10r on Discord.

How difficult will it be to use CLN's listpeerchannels instead?

Related to #194.

Would need to add that method here first:
https://github.com/ElementsProject/glightning/blob/55240d61b52a059ece7d3eca0ed05fe3c413ee54/glightning/lightning.go#L2583

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cln Only CLN related deprecated cln api Related to CLN API deprecations
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants