Skip to content

Commit

Permalink
chore: go lint
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyasbhat0 committed Feb 24, 2025
1 parent f7643a8 commit 015ea8d
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion x/arkeo/genesis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import (
)

func TestGenesis(t *testing.T) {

ctx, k := keepertest.ArkeoKeeper(t)

genesisState := types.GenesisState{
Expand Down
1 change: 0 additions & 1 deletion x/arkeo/keeper/msg_server_close_contract.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ func (k msgServer) CloseContractHandle(ctx cosmos.Context, msg *types.MsgCloseCo
}

if contract.IsPayAsYouGo() {

k.RemoveContractExpirationSet(ctx, contract.Expiration())
// add a new expiration return deposit to user
newHeight := ctx.BlockHeight() + contract.SettlementDuration
Expand Down
1 change: 0 additions & 1 deletion x/arkeo/keeper/msg_server_open_contract.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ func (k msgServer) OpenContractValidate(ctx cosmos.Context, msg *types.MsgOpenCo
}

func (k msgServer) OpenContractHandle(ctx cosmos.Context, msg *types.MsgOpenContract) error {

// set back client as delegate if delegate is empty
if msg.Delegate == "" {
msg.Delegate = msg.Client
Expand Down
2 changes: 1 addition & 1 deletion x/claim/keeper/claim.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package keeper

import (
"sort"
"context"
"sort"
"strings"

sdkerror "cosmossdk.io/errors"
Expand Down

0 comments on commit 015ea8d

Please sign in to comment.