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

Update - Refactor hasher implementation in hasher.rs #91

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

w36d
Copy link

@w36d w36d commented Jun 15, 2023

Updated the implementation of the Hasher64 struct in aleph_bft/mock/src/hasher.rs.

Resolved conflicts and imports to ensure proper usage of std::hash::Hasher and std::collections::hash_map::DefaultHasher.

Modified the hash function to correctly convert the resulting hash value to a [u8; 8] array.

Improved code readability and clarity.

Updated the implementation of the Hasher64 struct in aleph_bft/mock/src/hasher.rs.

Resolved conflicts and imports to ensure proper usage of std::hash::Hasher and std::collections::hash_map::DefaultHasher.

Modified the hash function to correctly convert the resulting hash value to a [u8; 8] array.

Improved code readability and clarity.
@github-actions
Copy link

Please make sure the following happened

  • Appropriate tests created
  • Infrastructure updated accordingly
  • Updated existing documentation
  • New documentation created
  • Version bumped if breaking changes

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.

1 participant