Skip to content

Commit

Permalink
crypto: fix docstring names (ethereum#28923)
Browse files Browse the repository at this point in the history
  • Loading branch information
gzliudan committed Dec 4, 2024
1 parent 086bcd9 commit 01674a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/bn256/google/bn256.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ type G2 struct {
p *twistPoint
}

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

0 comments on commit 01674a2

Please sign in to comment.