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 best_output_block_updated erroneously remaining at false #2029

Merged
merged 2 commits into from
Nov 8, 2024

Conversation

tomaka
Copy link
Contributor

@tomaka tomaka commented Nov 8, 2024

Fix #2023
Fix #1941

Work time: 20mn

Comment on lines +918 to +923
// Since we change the finalized block, if the output best block is equal to this
// finalized block, that means it is modified, even though its value might remain
// at `None`.
if self.output_best_block_index.is_none() {
best_output_block_updated = true;
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's the bugfix. The rest of the changes are one typo, and clarifications.

@tomaka tomaka added this pull request to the merge queue Nov 8, 2024
Merged via the queue into smol-dot:main with commit e4bb7fe Nov 8, 2024
21 checks passed
@tomaka tomaka deleted the fix-2023 branch November 8, 2024 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant