Method
verify_proof_contribution
(
&self,
challenge: &G::ScalarField,
proof: &PedersenCommitmentProof<G>,
)
Source from the content-addressed store, hash-verified
| 163 | } |
| 164 | |
| 165 | pub fn verify_proof_contribution( |
| 166 | &self, |
| 167 | challenge: &G::ScalarField, |
| 168 | proof: &PedersenCommitmentProof<G>, |
| 169 | ) -> Result<(), SchnorrError> { |
| 170 | proof |
| 171 | .response |
| 172 | .is_valid(self.commitment_key, &self.commitment, &proof.t, challenge) |
| 173 | } |
| 174 | |
| 175 | pub fn verify_partial_proof_contribution( |
| 176 | &self, |
Callers
nothing calls this directly
Tested by
no test coverage detected