mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-16 09:50:45 +00:00
crypto: fix docstring names (#28923)
This commit is contained in:
parent
cae53aa7fd
commit
fabfcc7f6c
1 changed files with 1 additions and 1 deletions
|
|
@ -166,7 +166,7 @@ type G2 struct {
|
||||||
p *twistPoint
|
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) {
|
func RandomG2(r io.Reader) (*big.Int, *G2, error) {
|
||||||
var k *big.Int
|
var k *big.Int
|
||||||
var err error
|
var err error
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue