mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 21:56:43 +00:00
crypto/bn256/gnark: align marshaling behavior
This commit is contained in:
parent
7fcfb98a28
commit
a29786b480
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ type G2 struct {
|
|||
// Unmarshal deserializes `buf` into `g`
|
||||
//
|
||||
// The input is expected to be in the EVM format:
|
||||
// 128 bytes: [32-byte x.0][32-byte x.1][32-byte y.0][32-byte y.1]
|
||||
// 128 bytes: [32-byte x.1][32-byte x.0][32-byte y.1][32-byte y.0]
|
||||
// where each value is a big-endian integer.
|
||||
//
|
||||
// This method also checks whether the point is on the
|
||||
|
|
|
|||
Loading…
Reference in a new issue