You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation of the code accesses the size of the tree by sometimes using the length of leafHashes and sometimes by using the length of the leaves field of the tree. To improve code readability and clarity, it would be beneficial to create an accessory method that consistently returns the size of the tree and use this method throughout the codebase.
The text was updated successfully, but these errors were encountered:
## Overview
Closes#160
## Checklist
- [x] New and updated code has appropriate documentation
- [x] New and updated code has new and/or updated testing
- [x] Required CI checks are passing
- [x] Visual proof for any user facing features like CLI or
documentation updates
- [x] Linked issues closed with keywords
The current implementation of the code accesses the size of the tree by sometimes using the length of leafHashes and sometimes by using the length of the leaves field of the tree. To improve code readability and clarity, it would be beneficial to create an accessory method that consistently returns the size of the tree and use this method throughout the codebase.
The text was updated successfully, but these errors were encountered: