Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
iramiller committed Feb 2, 2023
1 parent 48f3094 commit 63bf6d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ func New(
pioMsgFeesRouter.SetMsgFeesKeeper(app.MsgFeesKeeper)

// NOTE: stakingKeeper above is passed by reference, so that it will contain these hooks
restrictHooks := piohandlers.NewStakingRestrictionHooks(&app.StakingKeeper, *piohandlers.DefaultRestictionOptions)
restrictHooks := piohandlers.NewStakingRestrictionHooks(&app.StakingKeeper, *piohandlers.DefaultRestrictionOptions)
app.StakingKeeper = *stakingKeeper.SetHooks(
stakingtypes.NewMultiStakingHooks(restrictHooks, app.DistrKeeper.Hooks(), app.SlashingKeeper.Hooks()),
)
Expand Down
4 changes: 2 additions & 2 deletions internal/handlers/staking_restrictions_hooks.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ type RestrictionOptions struct {
MinBondedCapPercent float32
}

// DefaultRestictionOptions are default constraints that prevent single point of failure on validators
var DefaultRestictionOptions = &RestrictionOptions{
// DefaultRestrictionOptions are default constraints that prevent single point of failure on validators
var DefaultRestrictionOptions = &RestrictionOptions{
MaxConcentrationMultiple: DefaultConcentrationMultiple,
MaxBondedCapPercent: DefaultMaxCapPercent,
MinBondedCapPercent: DefaultMinCapPercent,
Expand Down

0 comments on commit 63bf6d8

Please sign in to comment.