From ba975dc0931b9f2962b2f163675772458ed339fd Mon Sep 17 00:00:00 2001 From: kiel barry Date: Tue, 8 May 2018 16:17:09 -0700 Subject: crypto: fix golint warnings (#16710) --- crypto/secp256k1/secp256_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/secp256k1/secp256_test.go') diff --git a/crypto/secp256k1/secp256_test.go b/crypto/secp256k1/secp256_test.go index f6582ecd5..b608bcfcf 100644 --- a/crypto/secp256k1/secp256_test.go +++ b/crypto/secp256k1/secp256_test.go @@ -49,7 +49,7 @@ func randSig() []byte { // tests for malleability // highest bit of signature ECDSA s value must be 0, in the 33th byte func compactSigCheck(t *testing.T, sig []byte) { - var b int = int(sig[32]) + var b = int(sig[32]) if b < 0 { t.Errorf("highest bit is negative: %d", b) } -- cgit v1.2.3