Skip to content

[Fix] Don't panic if peer upgrade fails#3837

Closed
kaimast wants to merge 10 commits intotestnetfrom
fix/router-panic
Closed

[Fix] Don't panic if peer upgrade fails#3837
kaimast wants to merge 10 commits intotestnetfrom
fix/router-panic

Conversation

@kaimast
Copy link
Copy Markdown
Contributor

@kaimast kaimast commented Sep 9, 2025

There seem to some cases where a peer's gets downgraded to candidate, while the handshake is still in progress. In that case, a node should not panic but simply throw an error message.

(Includes changes from #3835)

@vicsn vicsn requested review from raychu86 and vicsn September 9, 2025 21:39
Comment thread node/router/src/helpers/peer.rs
@kaimast
Copy link
Copy Markdown
Contributor Author

kaimast commented Sep 18, 2025

Closing this in favor of #3842.

@kaimast kaimast closed this Sep 18, 2025
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