Update nssa/src/state.rs

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

View File

@ -30,7 +30,7 @@ impl CommitmentSet {
.map(|path| (index, path))
}
/// Inserts a list of commitments to the CommitmentSet.
/// Inserts a list of commitments to the `CommitmentSet`.
pub(crate) fn extend(&mut self, commitments: &[Commitment]) {
for commitment in commitments.iter().cloned() {
let index = self.merkle_tree.insert(commitment.to_byte_array());