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.
This commit is contained in:
M. J. Fromberger
2022-02-11 13:48:40 -08:00
committed by GitHub
parent 01262b8ca9
commit ca6163a3ec

View File

@@ -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
)
//-------------------------------------