Skip to content

code: remove IsEuler check from worker.go#2161

Merged
zzzckck merged 2 commits intobnb-chain:developfrom
zzzckck:rm_IsEuler
Jan 17, 2024
Merged

code: remove IsEuler check from worker.go#2161
zzzckck merged 2 commits intobnb-chain:developfrom
zzzckck:rm_IsEuler

Conversation

@zzzckck
Copy link
Copy Markdown
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

@zzzckck zzzckck requested review from buddh0 and unclezoro January 17, 2024 09:42
buddh0
buddh0 previously approved these changes Jan 17, 2024
@zzzckck zzzckck merged commit e606461 into bnb-chain:develop Jan 17, 2024
@zzzckck zzzckck deleted the rm_IsEuler branch May 14, 2025 06:11
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