Skip to content

Commit

Permalink
Fix Linter Issues
Browse files Browse the repository at this point in the history
  • Loading branch information
teghnet committed Sep 8, 2023
1 parent 442efc3 commit f160343
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion hdwallet/wallet.go
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ func (w *Wallet) derivePrivateKey(path accounts.DerivationPath) (*ecdsa.PrivateK
if w.fixIssue172 && key.IsAffectedByIssue172() {
key, err = key.Derive(n)
} else {
key, err = key.DeriveNonStandard(n)
key, err = key.DeriveNonStandard(n) //nolint:staticcheck
}
if err != nil {
return nil, err
Expand Down
6 changes: 3 additions & 3 deletions tor/onion.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ type Onion struct {
}

const (
hostnameFile = "hostname"
v3PublicFile = "hs_ed25519_public_key"
v3SecretFile = "hs_ed25519_secret_key" //nolint:gosec
hostnameFile = "hostname" //nolint:unused
v3PublicFile = "hs_ed25519_public_key" //nolint:unused
v3SecretFile = "hs_ed25519_secret_key" //nolint:unused,gosec

v3PublicTitle = "ed25519v1-public: type0"
v3SecretTitle = "ed25519v1-secret: type0" //nolint:gosec
Expand Down

0 comments on commit f160343

Please sign in to comment.