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 network_service discarding events #967

Merged
merged 2 commits into from
Jul 26, 2023
Merged

Fix network_service discarding events #967

merged 2 commits into from
Jul 26, 2023

Conversation

tomaka
Copy link
Contributor

@tomaka tomaka commented Jul 26, 2023

Fix #956

Right now, if can_generate_events is false, we call next_event anyway but discard the event. This is obviously the wrong thing to do.

@tomaka tomaka added this pull request to the merge queue Jul 26, 2023
Merged via the queue into smol-dot:main with commit 1702f17 Jul 26, 2023
20 checks passed
@tomaka tomaka deleted the fix-956 branch July 26, 2023 14:45
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.

Smoldot has panicked while executing task sync-service-polkadot
1 participant