pub trait DuplicateNullifierError {
// Required method
fn duplicate_nullifier_error(
&self,
in_finalized_state: bool,
) -> ValidateContextError;
}
Expand description
Trait for creating the corresponding duplicate nullifier error from a nullifier.
Required Methods§
sourcefn duplicate_nullifier_error(
&self,
in_finalized_state: bool,
) -> ValidateContextError
fn duplicate_nullifier_error( &self, in_finalized_state: bool, ) -> ValidateContextError
Returns the corresponding duplicate nullifier error for self
.