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 the impossible :) #10117
Fix the impossible :) #10117
Conversation
CoinVerifier.VerifierAuditArchiver.LogException(round.Id, exc); | ||
round.EndRound(EndRoundState.AbortedWithError); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We set round.EndRound(EndRoundState.AbortedWithError);
in the outer catch block.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect the way it is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch!
Throw the exception to the outer try-catch block otherwise we can resurrect ended rounds.
Exmaple: