mirror of
https://github.com/logos-storage/nim-groth16.git
synced 2026-01-25 08:53:11 +00:00
another convenience function
(man, nim namespacing and scoping fucking sucks...)
This commit is contained in:
parent
7a610c2217
commit
73b5ae2734
@ -27,3 +27,6 @@ type
|
||||
partial_pi_c* : G1 # = sum z_j*[K_j]_1
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
func makePartialWitness*(vals: seq[Option[Fr[BN254_Snarks]]]): PartialWitness =
|
||||
return PartialWitness(values: vals)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user