Browse Source

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.
pull/7811/merge
M. J. Fromberger 2 years ago
committed by GitHub
parent
commit
ca6163a3ec
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      crypto/secp256k1/secp256k1.go

+ 1
- 1
crypto/secp256k1/secp256k1.go 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
)
//-------------------------------------


Loading…
Cancel
Save