Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kingpinXD committed Mar 7, 2024
1 parent 0ec62f9 commit 54ce2b2
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions x/emissions/types/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,6 @@ func (p Params) String() string {
return string(out)
}

func validateObserverSlashAmount(i interface{}) error {
v, ok := i.(sdkmath.Int)
if !ok {
return fmt.Errorf("invalid parameter type: %T", i)
}
if v.LT(sdk.ZeroInt()) {
return fmt.Errorf("slash amount cannot be less than 0")
}
return nil
}
func validateDurationFactorConstant(i interface{}) error {
_, ok := i.(string)
if !ok {
Expand Down

0 comments on commit 54ce2b2

Please sign in to comment.