Skip to content

Commit 19af490

Browse files
refactor: change panic to return false (#959)
1 parent 09a7044 commit 19af490

File tree

1 file changed

+1
-1
lines changed
  • batcher/aligned-batcher/src/gnark

1 file changed

+1
-1
lines changed

batcher/aligned-batcher/src/gnark/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ pub fn verify_gnark(
4747
ProvingSystemId::Groth16Bn254 => unsafe {
4848
VerifyGroth16ProofBN254(proof, public_input, verification_key)
4949
},
50-
_ => panic!("Unsupported proving system"),
50+
_ => false,
5151
}
5252
}
5353

0 commit comments

Comments
 (0)