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

go/consensus: Do not crash on nil result from Commit #5423

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

kostko
Copy link
Member

@kostko kostko commented Nov 1, 2023

The Commit function can return both a nil error and a nil result in case the given block is not available yet.

@kostko kostko added the c:bug Category: bug label Nov 1, 2023
The Commit function can return both a nil error and a nil result in case
the given block is not available yet.
@kostko kostko force-pushed the kostko/fix/consensus-lightblock-nil branch from 4563bbc to 772a182 Compare November 1, 2023 15:04
@kostko kostko marked this pull request as ready for review November 1, 2023 15:04
@kostko kostko enabled auto-merge November 1, 2023 15:26
@kostko kostko merged commit 1285238 into master Nov 1, 2023
1 check passed
@kostko kostko deleted the kostko/fix/consensus-lightblock-nil branch November 1, 2023 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:bug Category: bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants