Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Feb 23, 2024
1 parent 3ee996f commit 9a27340
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion x/staking/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1039,7 +1039,7 @@ The staking module contains the following parameters:
| MaxConsPubkeyRotations | int | 1 |

:::warning
Manually updating the `MinCommissionRate` parameter will not affect the commission rate of the existing validators. It will only affect the commission rate of the new validators. Update the parameter with `MsgUpdateParams` to affect the commission rate of the existing validators as wel.
Manually updating the `MinCommissionRate` parameter will not affect the commission rate of the existing validators. It will only affect the commission rate of the new validators. Update the parameter with `MsgUpdateParams` to affect the commission rate of the existing validators as well.
:::

## Client
Expand Down
2 changes: 1 addition & 1 deletion x/staking/keeper/msg_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ func (k msgServer) UpdateParams(ctx context.Context, msg *types.MsgUpdateParams)
return nil, err
}

// get previous params params
// get previous staking params
previousParams, err := k.Params.Get(ctx)
if err != nil {
return nil, err
Expand Down

0 comments on commit 9a27340

Please sign in to comment.