mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-02-13 01:53:17 +00:00
rework circom compat
This commit is contained in:
parent
30ab88572d
commit
0da9d51213
@ -23,6 +23,9 @@ import ../../../codextypes
|
||||
|
||||
import pkg/constantine/math/arithmetic
|
||||
|
||||
import pkg/constantine/math/arithmetic
|
||||
import pkg/constantine/math/io/io_bigints
|
||||
|
||||
export circomcompat
|
||||
|
||||
type
|
||||
@ -178,10 +181,8 @@ proc prove*[H](
|
||||
if backend != nil:
|
||||
backend.addr.releaseCircomCompat()
|
||||
|
||||
success CircomProof(
|
||||
proof: proof,
|
||||
cfg: self.backendCfg,
|
||||
backend: backend)
|
||||
if backend != nil:
|
||||
backend.addr.releaseCircomCompat()
|
||||
|
||||
proc verify*(
|
||||
self: CircomCompat,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user