-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
simple_hash_from_byte_slices takes a Vec instead of slice (#59)
* simple_hash_from_byte_slices takes a Vec instead of slice * use Vec<Vec<u8>> with inner recursion method * simplify tests: direct vector initialization instead of going through &[&[u8]] * Rename simple_hash_from_byte_slices to simple_hash_from_byte_vectors The method that computes the root from arbitrary given bytes doesn't take slices but Rust's array-type: vector. Also, update comment.
- Loading branch information
Showing
2 changed files
with
19 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters