Update nssa/src/merkle_tree/mod.rs

Co-authored-by: Sergio Chouhy <41742639+schouhy@users.noreply.github.com>
This commit is contained in:
jonesmarvin8 2025-09-05 16:26:56 -04:00 committed by GitHub
parent 4e122abbce
commit 45b31d304c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -57,7 +57,7 @@ impl MerkleTree {
}
pub fn with_capacity(capacity: usize) -> Self {
//adjust capacity to ensure power of two
// Adjust capacity to ensure power of two
let capacity = capacity.next_power_of_two();
let total_depth = capacity.trailing_zeros() as usize;