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

Remove unnecessary database reads in validation check #5540

Merged
merged 1 commit into from
Feb 5, 2021

Conversation

austinabell
Copy link
Contributor

Is there any possible way that this genesis will ever be nil and it would otherwise load from store?

Copy link
Contributor

@magik6k magik6k left a comment

Choose a reason for hiding this comment

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

Great catch! Reading through the code I don't think there's any case where this can be nil

@magik6k magik6k merged commit 9f546c2 into filecoin-project:master Feb 5, 2021
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