mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-07 22:05:18 +00:00
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:
@@ -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
|
||||
)
|
||||
|
||||
//-------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user