aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/signature_nocgo.go
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/signature_nocgo.go')
-rw-r--r--crypto/signature_nocgo.go2
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)