shorter comment

This commit is contained in:
Kevaundray Wedderburn 2025-06-17 15:16:58 +02:00
parent 2f98aee459
commit c83cdbb79a

View file

@ -73,7 +73,7 @@ func (g *G2) Unmarshal(buf []byte) (int, error) {
// //
// The output is in EVM format: 128 bytes total. // The output is in EVM format: 128 bytes total.
// [32-byte x.real][32-byte x.imag][32-byte y.real][32-byte y.imag] // [32-byte x.real][32-byte x.imag][32-byte y.real][32-byte y.imag]
// where each value is a big-endian integer padded to 32 bytes. // where each value is a big-endian integer.
func (g *G2) Marshal() []byte { func (g *G2) Marshal() []byte {
output := make([]byte, 128) output := make([]byte, 128)