-
Notifications
You must be signed in to change notification settings - Fork 305
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: VariableMerkleTree readability improvements (#11165)
When working on adding safety warnings to callsites of unconstrained functions it became quite hard to figure out whether call to get_height is really safe and Nico advised me to improve this by separating some of the functionality to a separate function. Decided to do that in a separate PR since the other one would become too messy.
- Loading branch information
Showing
1 changed file
with
52 additions
and
21 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