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

Include upper bound in binary search #206

Merged
merged 1 commit into from
Oct 14, 2021
Merged

Include upper bound in binary search #206

merged 1 commit into from
Oct 14, 2021

Conversation

ferranbt
Copy link
Contributor

This PR fixes an issue with the binary search ancestor introduced in #202. The binary search does not include the upper bound "localHeight" in the search but it is also a valid block number.

@ssandeep ssandeep merged commit f020b88 into master Oct 14, 2021
@ssandeep ssandeep deleted the fix-binary-search branch October 14, 2021 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants