Skip to content

Make address optional in open-channel command#170

Open
joostjager wants to merge 1 commit intolightningdevkit:mainfrom
joostjager:open-channel-fix
Open

Make address optional in open-channel command#170
joostjager wants to merge 1 commit intolightningdevkit:mainfrom
joostjager:open-channel-fix

Conversation

@joostjager
Copy link
Contributor

When already connected to a peer, requiring the address to open a channel is unnecessary. The address field is now optional in the OpenChannelRequest proto and the CLI accepts pubkey@address format (like connect-peer) or just the pubkey alone. When no address is provided, the server resolves it from the connected peer list.

AI tools were used in preparing this commit.

When already connected to a peer, requiring the address to open a
channel is unnecessary. The address field is now optional in the
OpenChannelRequest proto and the CLI accepts pubkey@address format
(like connect-peer) or just the pubkey alone. When no address is
provided, the server resolves it from the connected peer list.

AI tools were used in preparing this commit.
@ldk-reviews-bot
Copy link

ldk-reviews-bot commented Mar 24, 2026

I've assigned @benthecarman as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

@benthecarman
Copy link
Collaborator

duplicate of #159

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.

3 participants