Skip to content

Commit

Permalink
feat(207): Make groth16 generated contracts (a bit) more user friendly.
Browse files Browse the repository at this point in the history
  • Loading branch information
bacharif committed Oct 9, 2024
1 parent dd0cee4 commit 416d240
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def gen_risc0_groth16_verifier(
small_Q
);
if check == true {{
return Option::Some(groth16_proof.public_inputs);
return Option::Some(claim_digest);
}} else {{
return Option::None;
}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ mod Risc0Groth16VerifierBN254 {
small_Q
);
if check == true {
return Option::Some(groth16_proof.public_inputs);
return Option::Some(claim_digest);
} else {
return Option::None;
}
Expand Down

0 comments on commit 416d240

Please sign in to comment.