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

code: remove IsEuler check from worker.go #2161

Merged
merged 2 commits into from
Jan 17, 2024

Conversation

zzzckck
Copy link
Collaborator

@zzzckck zzzckck commented Jan 17, 2024

Description

In mine phase, it is useless to check the passed hard fork, remove it could simplify the code.

Keep other hard fork checks in mine phase, like IsLondon, IsEIP155, as they are more complicated and could be used in some test environment.

Rationale

To simplify the code.

Example

NA

Changes

NA

buddh0
buddh0 previously approved these changes Jan 17, 2024
@zzzckck zzzckck merged commit e606461 into bnb-chain:develop Jan 17, 2024
6 checks passed
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