Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
DongLieu committed Dec 4, 2024
1 parent 3b3ec1f commit 60c3fea
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crypto/keys/secp256k1/secp256k1.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ func (pubKey *PubKey) Address() crypto.Address {
}

sha := sha256.Sum256(pubKey.Key)
hasherRIPEMD160 := ripemd160.New() //nolint:gosec // keep around for backwards compatibility
hasherRIPEMD160 := ripemd160.New()
hasherRIPEMD160.Write(sha[:]) // does not error
return crypto.Address(hasherRIPEMD160.Sum(nil))
}
Expand Down
3 changes: 2 additions & 1 deletion simsx/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ package simsx
import (
"cmp"
"context"
"iter"
"maps"
"math/rand"
"slices"
"strings"
"time"

"iter"

"cosmossdk.io/core/address"
"cosmossdk.io/core/log"

Expand Down
5 changes: 3 additions & 2 deletions x/accounts/autocli.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package accounts

import (
accountsv1 "cosmossdk.io/api/cosmos/accounts/v1"
autocliv1 "cosmossdk.io/api/cosmos/autocli/v1"
"fmt"

"github.com/cosmos/cosmos-sdk/version"

accountsv1 "cosmossdk.io/api/cosmos/accounts/v1"
autocliv1 "cosmossdk.io/api/cosmos/autocli/v1"
)

// AutoCLIOptions implements the autocli.HasAutoCLIConfig interface.
Expand Down

0 comments on commit 60c3fea

Please sign in to comment.