-
Notifications
You must be signed in to change notification settings - Fork 271
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
patches bug in chained Merkle root update #1689
patches bug in chained Merkle root update #1689
Conversation
b954a46
to
ec37140
Compare
Backports to the beta branch are to be avoided unless absolutely necessary for fixing bugs, security issues, and perf regressions. Changes intended for backport should be structured such that a minimum effective diff can be committed separately from any refactoring, plumbing, cleanup, etc that are not strictly necessary to achieve the goal. Any of the latter should go only into master and ride the normal stabilization schedule. Exceptions include CI/metrics changes, CLI improvements and documentation updates on a case by case basis. |
Option::ok_or_else always maps None to Err which is not what was intended in this code. (cherry picked from commit e804bcc)
…1692) patches bug in chained Merkle root update (#1689) Option::ok_or_else always maps None to Err which is not what was intended in this code. (cherry picked from commit e804bcc) Co-authored-by: behzad nouri <[email protected]>
…z#1689) (anza-xyz#1692) patches bug in chained Merkle root update (anza-xyz#1689) Option::ok_or_else always maps None to Err which is not what was intended in this code. (cherry picked from commit e804bcc) Co-authored-by: behzad nouri <[email protected]>
Option::ok_or_else always maps None to Err which is not what was intended in this code.
Problem
Option::ok_or_else
always mapsNone
toErr
which is not what was intended in this code:https://github.com/anza-xyz/agave/blob/362c60505/turbine/src/broadcast_stage/standard_broadcast_run.rs#L248-L254
Summary of Changes
removed
ok_or_else
.