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

all: new empty trie with types.EmptyRootHash instead of null #27230

Merged
merged 1 commit into from
May 11, 2023

Conversation

rjl493456442
Copy link
Member

@rjl493456442 rjl493456442 commented May 9, 2023

This PR fixes the empty trie initialization by using types.EmptyRootHash. But the common.Hash is still accepted in case we still use it somewhere else.

@rjl493456442 rjl493456442 marked this pull request as ready for review May 11, 2023 03:35
Copy link
Member

@karalabe karalabe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SGTM

@karalabe karalabe added this to the 1.11.7 milestone May 11, 2023
@karalabe karalabe merged commit a143018 into ethereum:master May 11, 2023
shekhirin pushed a commit to shekhirin/go-ethereum that referenced this pull request Jun 6, 2023
devopsbo3 pushed a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
devopsbo3 added a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
devopsbo3 added a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
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