formatting

This commit is contained in:
Kevaundray Wedderburn 2024-10-14 15:07:57 +01:00
parent 177c7a1532
commit dbf770342a
2 changed files with 7 additions and 7 deletions

View file

@ -56,7 +56,7 @@ func (g *GT) Marshal() []byte {
return bytes[:] return bytes[:]
} }
// Exp exponentiates `base` to the power of `exponent` // Exp raises `base` to the power of `exponent`
// //
// Note: This method is not explicitly used in mainline code. // Note: This method is not explicitly used in mainline code.
// It is needed for fuzzing. // It is needed for fuzzing.

View file

@ -61,7 +61,7 @@ func getInnerG1s(pointerSlice []*G1) []bn254.G1Affine {
// getInnerG2s gets the inner gnark G2 elements. // getInnerG2s gets the inner gnark G2 elements.
// //
// The rationale for this method is the same as getInnerG1s. // The rationale for this method is the same as `getInnerG1s`.
func getInnerG2s(pointerSlice []*G2) []bn254.G2Affine { func getInnerG2s(pointerSlice []*G2) []bn254.G2Affine {
gnarkValues := make([]bn254.G2Affine, 0, len(pointerSlice)) gnarkValues := make([]bn254.G2Affine, 0, len(pointerSlice))
for _, ptr := range pointerSlice { for _, ptr := range pointerSlice {