-
Notifications
You must be signed in to change notification settings - Fork 931
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(pruner): fix find algo so that it does not pass a malformed range into GetRangeByHeight
call
#3828
Conversation
GetRangeByHeight
call
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3828 +/- ##
==========================================
+ Coverage 44.83% 45.29% +0.45%
==========================================
Files 265 311 +46
Lines 14620 21884 +7264
==========================================
+ Hits 6555 9912 +3357
- Misses 7313 10915 +3602
- Partials 752 1057 +305 ☔ View full report in Codecov by Sentry. |
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.
It would benefit from unit test
715b51e
to
150e9c9
Compare
…ffHeight+1` as the `to` parameter for the call down to GetRangeByHeight -- this will ensure `estimatedCutoffHeight` is included in returned range
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.
SGTM
Fixes #3823