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 root_hash conditional compilation #671

Merged
merged 2 commits into from
Jun 28, 2024
Merged

Fix root_hash conditional compilation #671

merged 2 commits into from
Jun 28, 2024

Conversation

danlaine
Copy link

@danlaine danlaine commented Jun 28, 2024

No description provided.

@danlaine danlaine self-assigned this Jun 28, 2024
@danlaine danlaine marked this pull request as ready for review June 28, 2024 18:25
Comment on lines +84 to +85
return Ok(TrieHash::default());
};
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit:

Suggested change
return Ok(TrieHash::default());
};
Ok(TrieHash::default());
} else {
...
}

You can probably also factor out the Ok.

Copy link
Author

Choose a reason for hiding this comment

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

I think it's a bit cleaner as is so going to merge it. Lmk if you feel strongly otherwise

@danlaine danlaine merged commit bdaca24 into remove-shale Jun 28, 2024
@danlaine danlaine deleted the fix-root-hash branch June 28, 2024 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants