docs: fix typos (#23116)

Signed-off-by: oliveredget <188809800+oliveredget@users.noreply.github.com>
Co-authored-by: Marko <marko@baricevic.me>
This commit is contained in:
oliveredget 2025-01-01 00:42:06 +08:00 committed by GitHub
parent 697219c9c4
commit d39d0bc456
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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