Skip to content

Commit

Permalink
cherry pick: 42cbd4
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderbez committed Dec 13, 2023
1 parent 5995da9 commit 99bddcd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion x/staking/types/commission.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func (cr CommissionRates) Validate() error {
return ErrCommissionGTMaxRate

case cr.Rate.LT(MinCommissionRate):
// rate cannot be less than 2%
// rate cannot be less than 5%
return ErrCommissionTooSmall

case cr.MaxChangeRate.IsNegative():
Expand Down
2 changes: 1 addition & 1 deletion x/staking/types/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ var (
// DefaultMinCommissionRate is set to 0%
DefaultMinCommissionRate = math.LegacyZeroDec()

MinCommissionRate = math.LegacyMustNewDecFromStr("0.02")
MinCommissionRate = math.LegacyMustNewDecFromStr("0.05")
)

// NewParams creates a new Params instance
Expand Down

0 comments on commit 99bddcd

Please sign in to comment.