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

Go-Ethereum 1.11.3 compatibility (no version bump) #40

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DragonDev1906
Copy link
Contributor

Go-Ethereum 1.11.3 changes how BlockChain.CurrentBlock() works: Instead of returning a *types.Block it returns a *types.Header. This commit changes it to use BlockChain.CurrentHeader(), which is sufficient for us and will not break when bumping Go-Ethereum to version 1.11.3.

Go-Ethereum 1.11.3 changes how `BlockChain.CurrentBlock()` works:
Instead of returning a `*types.Block` it returns a `*types.Header`. This
commit changes it to use `BlockChain.CurrentHeader()`, which is
sufficient for us and will not break when bumping Go-Ethereum to
version 1.11.3.

Signed-off-by: Jens Winkle <[email protected]>
@DragonDev1906 DragonDev1906 marked this pull request as ready for review April 14, 2023 11:52
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.

1 participant