Skip to content

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