Skip to content

Commit

Permalink
challenge field replaced
Browse files Browse the repository at this point in the history
  • Loading branch information
hridambasu committed Aug 7, 2023
1 parent 72d5be1 commit 8ba6924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zkp/pimod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ mod tests {
let (mut bad_proof, input) = random_pimod_proof(&mut rng);
let new_challenge = random_positive_bn(&mut rng, &k256_order());
if let Some(first_element) = bad_proof.elements.get_mut(0) {
first_element.challenge_secret_link = new_challenge;
first_element.challenge = new_challenge;
} else {
panic!("No element found");
}
Expand Down

0 comments on commit 8ba6924

Please sign in to comment.