From ca6163a3eca138e095295620e816318d5911af2b Mon Sep 17 00:00:00 2001 From: "M. J. Fromberger" Date: Fri, 11 Feb 2022 13:48:40 -0800 Subject: [PATCH] Silence a staticcheck warning. (#7811) There was a nolint directive on this deprecated import, which golangci-lint complains about being unnecessary. However, removing it angers staticcheck, which enforces deprecation warnings. Use the right syntax to make both equally unhappy. --- crypto/secp256k1/secp256k1.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/secp256k1/secp256k1.go b/crypto/secp256k1/secp256k1.go index f212874c7..193c0fac1 100644 --- a/crypto/secp256k1/secp256k1.go +++ b/crypto/secp256k1/secp256k1.go @@ -13,7 +13,7 @@ import ( "github.com/tendermint/tendermint/internal/jsontypes" // necessary for Bitcoin address format - "golang.org/x/crypto/ripemd160" // nolint + "golang.org/x/crypto/ripemd160" //nolint:staticcheck ) //-------------------------------------