Skip to content

Commit

Permalink
docs: fix typos (#23116)
Browse files Browse the repository at this point in the history
Signed-off-by: oliveredget <[email protected]>
Co-authored-by: Marko <[email protected]>
  • Loading branch information
oliveredget and tac0turtle authored Dec 31, 2024
1 parent 697219c commit d39d0bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion store/snapshots/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const (
snapshotMaxItemSize = int(64e6) // SDK has no key/value size limit, so we set an arbitrary limit
)

var ErrOptsZeroSnapshotInterval = errors.New("snaphot-interval must not be 0")
var ErrOptsZeroSnapshotInterval = errors.New("snapshot-interval must not be 0")

// NewManager creates a new manager.
func NewManager(store *Store, opts types.SnapshotOptions, multistore types.Snapshotter, extensions map[string]types.ExtensionSnapshotter, logger storetypes.Logger) *Manager {
Expand Down
2 changes: 1 addition & 1 deletion x/staking/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ When a Validator is slashed, the following occurs:
redelegation began from the validator are slashed by the `slashFactor` percentage of the initialBalance.
* Each amount slashed from redelegations and unbonding delegations is subtracted from the
total slash amount.
* The `remaingSlashAmount` is then slashed from the validator's tokens in the `BondedPool` or
* The `remainingSlashAmount` is then slashed from the validator's tokens in the `BondedPool` or
`NonBondedPool` depending on the validator's status. This reduces the total supply of tokens.

In the case of a slash due to any infraction that requires evidence to submitted (for example double-sign), the slash
Expand Down

0 comments on commit d39d0bc

Please sign in to comment.