Skip to content

Ignore local channels with version 2/3#775

Merged
dpad85 merged 1 commit intomasterfrom
ignore-legacy-channels
Nov 4, 2025
Merged

Ignore local channels with version 2/3#775
dpad85 merged 1 commit intomasterfrom
ignore-legacy-channels

Conversation

@dpad85
Copy link
Member

@dpad85 dpad85 commented Nov 4, 2025

Channels v2/v3 are not supported anymore in lightning-kmp and cannot be read. They should be ignored.

See ACINQ/lightning-kmp#685

Note that SQLDelight does not support the x'...' literal annotation in the WHERE clause, so the byte array containing the version must be converted to a string with hex before doing the comparison.

The test channels db has been updated to also contain a v3 channel.

Channels v2/v3 are not supported anymore in lightning-kmp and cannot
be read. They should be ignored.

See ACINQ/lightning-kmp#685
@dpad85 dpad85 merged commit 0ba7dcc into master Nov 4, 2025
@dpad85 dpad85 deleted the ignore-legacy-channels branch November 4, 2025 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants