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/signature_nocgo.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/signature_nocgo.go')
-rw-r--r-- | crypto/signature_nocgo.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/signature_nocgo.go b/crypto/signature_nocgo.go index f636b2377..e8fa18ed4 100644 --- a/crypto/signature_nocgo.go +++ b/crypto/signature_nocgo.go @@ -88,7 +88,7 @@ func VerifySignature(pubkey, hash, signature []byte) bool { return false } // Reject malleable signatures. libsecp256k1 does this check but btcec doesn't. - if sig.S.Cmp(secp256k1_halfN) > 0 { + if sig.S.Cmp(secp256k1halfN) > 0 { return false } return sig.Verify(hash, key) |