Skip to content

Commit

Permalink
Fixed lint in keepers.go (#1161)
Browse files Browse the repository at this point in the history
  • Loading branch information
omritoptix authored Aug 31, 2024
1 parent 3b6c037 commit fb20482
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/sequencer/keeper/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ const (
// ValidateParams is a stateful validation for params.
// it validates that unbonding time is greater then x/rollapp's dispute period
// and that the correct denom is set.
// The unbonding time is set by governance hence it's more of a sanity/human error check which
// in theory should never fail as setting such unbonding time has wide protocol security implications beyond the dispute period.
// The unbonding time is set by governance hence it's more of a sanity/human error check which
// in theory should never fail as setting such unbonding time has wide protocol security implications beyond the dispute period.
func (k Keeper) ValidateParams(ctx sdk.Context, params types.Params) error {
// validate unbonding time > dispute period
rollappParams := k.rollappKeeper.GetParams(ctx)
Expand Down

0 comments on commit fb20482

Please sign in to comment.