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

Fix uncle timestamp check against its parent #1979

Merged
merged 1 commit into from
Feb 25, 2021

Conversation

carver
Copy link
Contributor

@carver carver commented Feb 25, 2021

What was wrong?

The uncle header may not have the same timestamp as its parent. I ignored the test at first due to ethereum/tests#787 - but it turns out the test is correct.

How was it fixed?

Update the inequality, and stop ignoring the valid test.

To-Do

  • Clean up commit history

Cute Animal Picture

put a cute animal picture link inside the parentheses

It may not be the same timestamp as its parent
Copy link
Member

@pipermerriam pipermerriam left a comment

Choose a reason for hiding this comment

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

huzzah!

@carver carver merged commit 995e10c into ethereum:master Feb 25, 2021
@carver carver deleted the uncle-timestamp-check branch February 25, 2021 19:52
@carver carver mentioned this pull request Feb 25, 2021
3 tasks
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