Skip to content

Commit

Permalink
remove unused list (#9219)
Browse files Browse the repository at this point in the history
  • Loading branch information
tac0turtle authored Apr 28, 2021
1 parent 15edf3c commit f32597e
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions x/staking/keeper/keeper.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package keeper

import (
"container/list"
"fmt"

"github.com/tendermint/tendermint/libs/log"
Expand All @@ -20,13 +19,12 @@ var _ types.DelegationSet = Keeper{}

// keeper of the staking store
type Keeper struct {
storeKey sdk.StoreKey
cdc codec.BinaryMarshaler
authKeeper types.AccountKeeper
bankKeeper types.BankKeeper
hooks types.StakingHooks
paramstore paramtypes.Subspace
validatorCacheList *list.List
storeKey sdk.StoreKey
cdc codec.BinaryMarshaler
authKeeper types.AccountKeeper
bankKeeper types.BankKeeper
hooks types.StakingHooks
paramstore paramtypes.Subspace
}

// NewKeeper creates a new staking Keeper instance
Expand All @@ -49,13 +47,12 @@ func NewKeeper(
}

return Keeper{
storeKey: key,
cdc: cdc,
authKeeper: ak,
bankKeeper: bk,
paramstore: ps,
hooks: nil,
validatorCacheList: list.New(),
storeKey: key,
cdc: cdc,
authKeeper: ak,
bankKeeper: bk,
paramstore: ps,
hooks: nil,
}
}

Expand Down

0 comments on commit f32597e

Please sign in to comment.