good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 017cf71f authored by ucwong's avatar ucwong Committed by GitHub
Browse files

rlp, tests/fuzzers/bls12381: gofmt (#22937)

parent 93407b14
No related branches found
No related tags found
No related merge requests found
...@@ -22,5 +22,5 @@ import "reflect" ...@@ -22,5 +22,5 @@ import "reflect"
// byteArrayBytes returns a slice of the byte array v. // byteArrayBytes returns a slice of the byte array v.
func byteArrayBytes(v reflect.Value) []byte { func byteArrayBytes(v reflect.Value) []byte {
return v.Slice(0, v.Len()).Bytes() return v.Slice(0, v.Len()).Bytes()
} }
...@@ -159,7 +159,7 @@ func FuzzCrossG1MultiExp(data []byte) int { ...@@ -159,7 +159,7 @@ func FuzzCrossG1MultiExp(data []byte) int {
gethPoints = append(gethPoints, new(bls12381.PointG1).Set(kp1)) gethPoints = append(gethPoints, new(bls12381.PointG1).Set(kp1))
gnarkPoints = append(gnarkPoints, *cp1) gnarkPoints = append(gnarkPoints, *cp1)
} }
if len(gethScalars) == 0{ if len(gethScalars) == 0 {
return 0 return 0
} }
// compute multi exponentiation // compute multi exponentiation
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment