celestiaorg / nmt

Namespaced Merkle Tree
Apache License 2.0
117 stars 43 forks source link

refactor: popIfNonEmpty for leaf hashes #257

Closed walldiss closed 6 months ago

walldiss commented 6 months ago

Use popIfNonEmpty instead of manual advancement of slice.

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 66.43%. Comparing base (7831a96) to head (ec1ad30).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #257 +/- ## ========================================== - Coverage 66.50% 66.43% -0.07% ========================================== Files 6 6 Lines 1030 1028 -2 ========================================== - Hits 685 683 -2 Misses 328 328 Partials 17 17 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.