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:56 -04:00 committed by GitHub
parent 4a0a99e264
commit c055941738
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,7 +21,7 @@ impl CommitmentSet {
self.merkle_tree.root()
}
/// Queries the CommitmentSet for a membership proof of commitment
/// Queries the `CommitmentSet` for a membership proof of commitment
pub fn get_proof_for(&self, commitment: &Commitment) -> Option<MembershipProof> {
let index = *self.commitments.get(commitment)?;