Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaroms committed Sep 19, 2024
1 parent c83629b commit b2865e5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions x/pairing/keeper/staking.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@ package keeper

import (
"fmt"

slices "github.com/lavanet/lava/v3/utils/lavaslices"

"strconv"
"time"

sdk "github.com/cosmos/cosmos-sdk/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
"github.com/lavanet/lava/v3/utils"
"github.com/lavanet/lava/v3/utils/lavaslices"
epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types"
"github.com/lavanet/lava/v3/x/pairing/types"
planstypes "github.com/lavanet/lava/v3/x/plans/types"
Expand Down Expand Up @@ -43,7 +41,7 @@ func (k Keeper) StakeNewEntry(ctx sdk.Context, validator, creator, chainID strin
)
}

if !slices.Contains(metadata.Chains, chainID) {
if !lavaslices.Contains(metadata.Chains, chainID) {
metadata.Chains = append(metadata.Chains, chainID)
}
k.epochStorageKeeper.SetMetadata(ctx, metadata)
Expand Down

0 comments on commit b2865e5

Please sign in to comment.