diff --git a/groth16/files/export_json.nim b/groth16/files/export_json.nim index ebb09a3..53b2828 100644 --- a/groth16/files/export_json.nim +++ b/groth16/files/export_json.nim @@ -33,6 +33,8 @@ proc exportPublicIO*( fpath: string, prf: Proof ) = let f = open(fpath, fmWrite) defer: f.close() + # note: we start from 1 because the 0th element is the constant 1 "variable", + # which is automatically added by the tools for i in 1..