mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-05 06:43:08 +00:00
Update nssa/src/state.rs
Co-authored-by: Sergio Chouhy <41742639+schouhy@users.noreply.github.com>
This commit is contained in:
parent
49019eaee2
commit
4ae2af21a5
@ -43,7 +43,7 @@ impl CommitmentSet {
|
||||
self.commitments.contains_key(commitment)
|
||||
}
|
||||
|
||||
/// Initializes a CommitmentState with a given capacity.
|
||||
/// Initializes an empty `CommitmentSet` with a given capacity.
|
||||
/// If the capacity is not a power_of_two, then capacity is taken
|
||||
/// to be the next power_of_two.
|
||||
pub(crate) fn with_capacity(capacity: usize) -> CommitmentSet {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user