diff options
author | kiel barry <kiel.j.barry@gmail.com> | 2018-05-09 07:17:09 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2018-05-09 07:17:09 +0800 |
commit | ba975dc0931b9f2962b2f163675772458ed339fd (patch) | |
tree | 9e2e4d2265cfdad52289d15abcc9f2b56fcddebe /crypto/secp256k1/curve.go | |
parent | eab6e5a317acf67409f82bc5c1f4d959413dfd47 (diff) | |
download | dexon-ba975dc0931b9f2962b2f163675772458ed339fd.tar dexon-ba975dc0931b9f2962b2f163675772458ed339fd.tar.gz dexon-ba975dc0931b9f2962b2f163675772458ed339fd.tar.bz2 dexon-ba975dc0931b9f2962b2f163675772458ed339fd.tar.lz dexon-ba975dc0931b9f2962b2f163675772458ed339fd.tar.xz dexon-ba975dc0931b9f2962b2f163675772458ed339fd.tar.zst dexon-ba975dc0931b9f2962b2f163675772458ed339fd.zip |
crypto: fix golint warnings (#16710)
Diffstat (limited to 'crypto/secp256k1/curve.go')
-rw-r--r-- | crypto/secp256k1/curve.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/secp256k1/curve.go b/crypto/secp256k1/curve.go index f51be5e35..6fdf2be6a 100644 --- a/crypto/secp256k1/curve.go +++ b/crypto/secp256k1/curve.go @@ -77,7 +77,7 @@ func (BitCurve *BitCurve) Params() *elliptic.CurveParams { } } -// IsOnBitCurve returns true if the given (x,y) lies on the BitCurve. +// IsOnCurve returns true if the given (x,y) lies on the BitCurve. func (BitCurve *BitCurve) IsOnCurve(x, y *big.Int) bool { // y² = x³ + b y2 := new(big.Int).Mul(y, y) //y² |