-
Notifications
You must be signed in to change notification settings - Fork 163
Description
Describe the bug
Trying to close channels created by CLN
nodes fails because these nodes are using channel point instead of channel ID.
Only LND
nodes use the concept of ChannelPoint (transaction ID and output ID), while CLN and Eclair use channel ID
.
Here's a pull request that fixes this.
To Reproduce
Steps to reproduce the behavior:
- Create a network with the default selection (1 LND, 1 CLN, 1 Eclair, 1 Bitcoin Core nodes).
- Start the network and create a channel using CLN as the originating node.
- Close the channel by right-clicking on the
channel link
or using theClose channel
button from the sidebar channel details menu.
Expected behavior
The channel should close with a positive modal message "The channel has been closed"
.
Actual behavior
This error is thrown: Unable to close the channel lightningd -32602: id: should be a channel ID or short channel ID: invalid token '"7e70fa72a22e7bf1c52e2cb984d924aafaf3588ebec3cac552a97b1bb6bfb502:0"'
.
Desktop (please complete the following information):
- OS: macOS Ventura 13.3
- Polar Version: 2.2.0
- Docker Version: 25.0.3
- Docker Compose Version: 2.24.5
Additional context
Add any other context about the problem here.