mirror of
https://github.com/logos-storage/logos-storage-proofs.git
synced 2026-01-04 06:23:11 +00:00
update init to remove redundant pointers
This commit is contained in:
parent
85a7a38d29
commit
d53903d475
@ -26,7 +26,9 @@ proc free_prover*(prover: ptr StorageProofs) {.importc: "free_prover".}
|
|||||||
## # Safety
|
## # Safety
|
||||||
#
|
#
|
||||||
# Construct a StorageProofs object
|
# Construct a StorageProofs object
|
||||||
proc init*(r1cs: Buffer, wasm: Buffer, zkey: ptr Buffer): (ptr StorageProofs) {.importc: "init".}
|
proc init_proof_ctx*(r1cs: Buffer,
|
||||||
|
wasm: Buffer,
|
||||||
|
zkey: ptr Buffer): (ptr StorageProofs) {.importc: "init_proof_ctx".}
|
||||||
|
|
||||||
## # Safety
|
## # Safety
|
||||||
#
|
#
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user