fix a mistake in an explanatory comment

This commit is contained in:
Balazs Komuves 2026-05-01 02:31:19 +02:00
parent f876bd6dba
commit aa4eb2b756
No known key found for this signature in database
GPG Key ID: F63B7AEF18435562

View File

@ -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]