-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Allow merkle trees of 1 node (its root) (#919)
* feat: change is_power_of_two to allow merkle trees of 1 node (its root) * fix: unit tests * chore: cargo fmt * Update crypto/src/merkle_tree/proof.rs Co-authored-by: Mario Rugiero <[email protected]> --------- Co-authored-by: Diego K <[email protected]> Co-authored-by: Mario Rugiero <[email protected]>
- Loading branch information
1 parent
0103cee
commit efd46f0
Showing
3 changed files
with
9 additions
and
11 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
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