mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
formatting
This commit is contained in:
parent
177c7a1532
commit
dbf770342a
2 changed files with 7 additions and 7 deletions
|
|
@ -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.
|
||||||
|
|
|
||||||
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue