mirror of
https://github.com/logos-storage/nim-circom-compat.git
synced 2026-01-02 13:43:13 +00:00
fix types
This commit is contained in:
parent
4f9b09afa8
commit
4d5e3de2b7
@ -38,12 +38,12 @@ type Buffer* = object
|
||||
len*: uint
|
||||
|
||||
type G1* = object
|
||||
x*: array[byte, 32]
|
||||
y*: array[byte, 32]
|
||||
x*: array[32, byte]
|
||||
y*: array[32, byte]
|
||||
|
||||
type G2* = object
|
||||
x*: array[array[byte, 32], 2]
|
||||
y*: array[array[byte, 32], 2]
|
||||
x*: array[2, array[byte, 32]]
|
||||
y*: array[2, array[byte, 32]]
|
||||
|
||||
type Proof* = object
|
||||
a*: G1
|
||||
@ -51,7 +51,7 @@ type Proof* = object
|
||||
c*: G1
|
||||
|
||||
type Inputs* = object
|
||||
elms*: ptr array[byte, 32]
|
||||
elms*: ptr array[32, byte]
|
||||
len*: uint
|
||||
|
||||
## # Safety
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user