You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have observed that snarkjs.groth16.prove() and snarkjs.groth16.verify() do not, by default, terminate the threads spawned by stuff like buildBn128() which is called internally. But looks like all that needs to be done is call curve.terminate() after the job of curve is done. Is there any other solution provided by the library.
The text was updated successfully, but these errors were encountered:
I have observed that
snarkjs.groth16.prove()
andsnarkjs.groth16.verify()
do not, by default, terminate the threads spawned by stuff likebuildBn128()
which is called internally. But looks like all that needs to be done is callcurve.terminate()
after the job of curve is done. Is there any other solution provided by the library.The text was updated successfully, but these errors were encountered: