mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-05 14:53:06 +00:00
Update nssa/src/state.rs
Co-authored-by: Sergio Chouhy <41742639+schouhy@users.noreply.github.com>
This commit is contained in:
parent
4a0a99e264
commit
c055941738
@ -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)?;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user