Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix panic in networking state machine #1395

Merged
merged 2 commits into from
Nov 23, 2023
Merged

Conversation

tomaka
Copy link
Contributor

@tomaka tomaka commented Nov 23, 2023

Close #1371

connected_unopened_gossip_desired must not contain any peer that doesn't have an established connection.
At the moment, this isn't properly respected, as it can contain peers that have connections that are still handshaking.
This then causes gossip_open to fail, which leads to a panic.

@tomaka tomaka added this pull request to the merge queue Nov 23, 2023
Merged via the queue into smol-dot:main with commit 15dfd43 Nov 23, 2023
22 checks passed
@tomaka tomaka deleted the fix-net-panic branch November 23, 2023 13:50
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.

Light network service panic
1 participant