mirror of
https://github.com/codex-storage/nim-codex.git
synced 2025-01-21 10:19:50 +00:00
add circom compat to solidity groth16 convertion
This commit is contained in:
parent
5f1c1bb3df
commit
65a1f19626
@ -614,8 +614,10 @@ proc onProve(
|
||||
error "Unable to generate proof", err = err.msg
|
||||
return failure(err)
|
||||
|
||||
trace "Proof generated successfully"
|
||||
success proof.toGroth16Proof()
|
||||
let groth16Proof = proof.toGroth16Proof()
|
||||
trace "Proof generated successfully", groth16Proof
|
||||
|
||||
success groth16Proof
|
||||
else:
|
||||
warn "Prover not enabled"
|
||||
failure "Prover not enabled"
|
||||
|
Loading…
x
Reference in New Issue
Block a user