Skip to content

Conversation

@chahat-101
Copy link

Fixes #700.

Previously, re-adding an existing peer would return early and ignore an
updated socket address, causing stale peer addresses to be persisted.
This change updates and persists the peer info when the address differs,
and adds a regression test covering the behavior.

@ldk-reviews-bot
Copy link

ldk-reviews-bot commented Dec 30, 2025

I've assigned @tnull 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.

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.

[BUG] Peer node socketAddress is not updated when passed a new socketAddress

2 participants