-
Notifications
You must be signed in to change notification settings - Fork 12
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
Add ListPeerChannels method #16
Conversation
Curious how you tested this |
It is just adding one new method. I tested by using it to fix this issue: giovannizotta/circular#20 |
Ah ok you tested it with circular? Cool, I'll try it out soon |
Thanks. Use this fork. |
@YusukeShimizu Hi, could you review this PR please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your support.
I have tested it in peerswap and confirmed that it is working correctly.
#16 introduced new fields to the PeerChannel struct returned by the listpeers command, but the corresponding test was not updated, causing the test build to fail. This commit fixes the test code to accommodate the changes in the PeerChannel struct, resolving the build error.
CLN 24.05 removed channels list from ListPeers response. Projects that depended on it could use ListPeerChannels now.
https://docs.corelightning.org/reference/lightning-listpeerchannels