Skip to content

Commit

Permalink
disable checking staking keeper empty
Browse files Browse the repository at this point in the history
  • Loading branch information
strbrian committed Jun 22, 2023
1 parent 000e9d2 commit f45876a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modules/core/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ func NewKeeper(
paramSpace = paramSpace.WithKeyTable(keyTable)
}

// panic if any of the keepers passed in is empty
if isEmpty(stakingKeeper) {
panic(fmt.Errorf("cannot initialize IBC keeper: empty staking keeper"))
}
// // panic if any of the keepers passed in is empty
// if isEmpty(stakingKeeper) {
// panic(fmt.Errorf("cannot initialize IBC keeper: empty staking keeper"))
// }
if isEmpty(upgradeKeeper) {
panic(fmt.Errorf("cannot initialize IBC keeper: empty upgrade keeper"))
}
Expand Down

0 comments on commit f45876a

Please sign in to comment.