Skip to content

Commit

Permalink
remove gci from lint tests
Browse files Browse the repository at this point in the history
  • Loading branch information
NagaTulasi committed Sep 19, 2024
1 parent c7af0fa commit fdce51c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ linters:
# - copyloopvar
- goconst
- gocritic
- gci
# - gci
- gofumpt
# - gosec
- gosimple
Expand Down
4 changes: 4 additions & 0 deletions chainclient/broadcast_tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ func ExecuteTX(ctx sdk.Context, msg types.MsgUpdateBlobStatusRequest, cdc codec.
key := os.Getenv("KEY")
keyName := key

if key == "" {
keyName = "alice"
}

// Create a keyring
kr, err := keyring.New(sdk.KeyringServiceName(), keyring.BackendTest, homePath, os.Stdin, cdc.(codec.Codec))
if err != nil {
Expand Down

0 comments on commit fdce51c

Please sign in to comment.