Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Feb 21, 2024
1 parent 492221b commit 16e0c38
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ func SetConfig() {

carsonUnit := sdk.NewDecWithPrec(1, int64(CroExponent)) // 10^-8 (carson)
err = sdk.RegisterDenom(BaseCoinUnit, carsonUnit)

if err != nil {
log.Fatal(err)
}
Expand Down
1 change: 0 additions & 1 deletion x/nft/keeper/grpc_query.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ func (k Keeper) Owner(c context.Context, request *types.QueryOwnerRequest) (*typ
tokenID := string(key)
if len(request.DenomId) == 0 {
denomID, tokenID, err = types.SplitKeyDenom(key)

if err != nil {
return err
}
Expand Down
1 change: 0 additions & 1 deletion x/nft/types/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ func SplitKeyOwner(key []byte) (address sdk.AccAddress, denomID, tokenID string,
}

address, err = sdk.AccAddressFromBech32(string(keys[0]))

if err != nil {
return address, denomID, tokenID, err
}
Expand Down

0 comments on commit 16e0c38

Please sign in to comment.