Skip to content

Commit

Permalink
rlp, tests/fuzzers/bls12381: gofmt (#22937)
Browse files Browse the repository at this point in the history
  • Loading branch information
ucwong authored May 25, 2021
1 parent 93407b1 commit 017cf71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rlp/safe.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ import "reflect"

// byteArrayBytes returns a slice of the byte array v.
func byteArrayBytes(v reflect.Value) []byte {
return v.Slice(0, v.Len()).Bytes()
return v.Slice(0, v.Len()).Bytes()
}
2 changes: 1 addition & 1 deletion tests/fuzzers/bls12381/bls12381_fuzz.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func FuzzCrossG1MultiExp(data []byte) int {
gethPoints = append(gethPoints, new(bls12381.PointG1).Set(kp1))
gnarkPoints = append(gnarkPoints, *cp1)
}
if len(gethScalars) == 0{
if len(gethScalars) == 0 {
return 0
}
// compute multi exponentiation
Expand Down

0 comments on commit 017cf71

Please sign in to comment.