mirror of
https://github.com/logos-storage/nim-groth16.git
synced 2026-07-20 15:39:28 +00:00
fix a mistake in an explanatory comment
This commit is contained in:
parent
f876bd6dba
commit
aa4eb2b756
@ -256,7 +256,8 @@ func uncompressG1*( compr1 : ComprG1 ) : Option[G1] =
|
||||
|
||||
#---------------------------------------
|
||||
|
||||
# little-endian encoding of the X coord, with bit 255 set if `Y_imag > P/2`
|
||||
# little-endian encoding of the X coord (real and imaginary components, in that order),
|
||||
# with the last, 511-th bit set if `Y_imag > P/2`
|
||||
func compressG2*( pt : G2 ) : ComprG2 =
|
||||
var x_real_big : BigInt[254]
|
||||
var x_imag_big : BigInt[254]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user