Skip to content

Commit

Permalink
print path to pk when fails to find
Browse files Browse the repository at this point in the history
  • Loading branch information
ec2 committed Dec 4, 2023
1 parent 9cffb75 commit 9e972d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lightclient-circuits/src/util/circuit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -294,5 +294,6 @@ where
C: Circuit<Fr>,
P: AsRef<Path>,
{
read_pk::<C>(fname.as_ref(), c.params()).expect("proving key should exist")
read_pk::<C>(fname.as_ref(), c.params())
.expect(format!("proving key: {:?} should exist", fname.as_ref().to_str()).as_str())
}

0 comments on commit 9e972d4

Please sign in to comment.