Skip to content

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