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

Rename ChainIndexer GetHeader overloads #543

Open
wants to merge 3 commits into
base: release/1.6.0.0
Choose a base branch
from

Conversation

rowandh
Copy link
Contributor

@rowandh rowandh commented May 5, 2021

The current overloads use different lookup dictionaries. If GetHeader is inadvertently called with a ulong it will perform a lookup by hash rather than height due to implicit conversion to a unit256. I made this mistake already.

@rowandh rowandh requested a review from fassadlr May 5, 2021 09:24
fassadlr
fassadlr previously approved these changes May 6, 2021
@fassadlr
Copy link
Contributor

@rowandh can you fix the merge conflicts?

@rowandh rowandh force-pushed the chainindexer-getheader-rename branch from 1419bab to 9f0b6bf Compare July 20, 2021 02:48
@zeptin zeptin changed the base branch from release/1.1.0.0 to release/1.4.0.0 September 14, 2022 07:49
@fassadlr fassadlr changed the base branch from release/1.4.0.0 to release/1.5.0.0 October 21, 2022 12:40
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.

3 participants