Skip to content

chore(deps): bump lightning to 12.2.11 [AMB-3167] - #780

Open
wthrajat wants to merge 1 commit into
apotdevin:masterfrom
wthrajat:rajat/amb-3167-bump-lightning-to-12211
Open

wthrajat wants to merge 1 commit into
apotdevin:masterfrom
wthrajat:rajat/amb-3167-bump-lightning-to-12211

Conversation

@wthrajat

@wthrajat wthrajat commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

v12 removes channel_capacity from payment hops. This repo mirrors some of lightning's types locally in src/server/modules/node/lightning.types.ts, and two of those mirrors still required the field, so the build failed:

`GetRouteToDestinationResult.route.hops[].channel_capacity` — removed, to match what v12 actually returns.
`PayViaRoutesHop.channel_capacity` — made optional. v12's `payViaRoutes` does not need it (it only validates channel ids and ignores unknown hop fields), and `trade.resolver.ts` still sets it on the synthetic hop it builds, so making it optional keeps both sides happy

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.

1 participant