Skip to content

Commit fabfcc7

Browse files
committed
crypto: fix docstring names (ethereum#28923)
1 parent cae53aa commit fabfcc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crypto/bn256/google/bn256.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ type G2 struct {
166166
p *twistPoint
167167
}
168168

169-
// RandomG1 returns x and g₂ˣ where x is a random, non-zero number read from r.
169+
// RandomG2 returns x and g₂ˣ where x is a random, non-zero number read from r.
170170
func RandomG2(r io.Reader) (*big.Int, *G2, error) {
171171
var k *big.Int
172172
var err error

0 commit comments

Comments
 (0)