Skip to content

Bug: Unable to close channel initiated by Core Lightning node #935

@kelvinator07

Description

@kelvinator07

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:

  1. Create a network with the default selection (1 LND, 1 CLN, 1 Eclair, 1 Bitcoin Core nodes).
  2. Start the network and create a channel using CLN as the originating node.
  3. Close the channel by right-clicking on the channel link or using the Close 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"'.

Screenshots
Screenshot 2024-07-08 at 13 24 20

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions