Skip to content

Commit

Permalink
docs(cln): updated cln compatibility issue comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvinator07 authored and jamaljsr committed Sep 12, 2024
1 parent ebf22c6 commit 11bec9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/lightning/clightning/clightningService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export class CLightningService implements LightningService {
}

async closeChannel(node: LightningNode, channelPoint: string): Promise<any> {
// The unilateraltimeout option is added to force close the channel because CLN v24.05 has a compatibility issue with Eclair v0.10.0.
// The unilateraltimeout option is added to force close the channel because CLN v24.08 has a compatibility issue with Eclair v0.10.0.
// It should be removed after the issue is fixed in subsequent versions for CLN or Eclair nodes.
const body = { id: channelPoint, unilateraltimeout: 1 }; // close the channel unilaterally after 1 second
await httpPost<CLN.CloseChannelResponse>(node, `close`, body);
Expand Down

0 comments on commit 11bec9b

Please sign in to comment.