docs: fix misspelled issues (#24989)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
This commit is contained in:
co-authored by
Alex | Interchain Labs
parent
255829400d
commit
892f4d868c
@@ -119,7 +119,7 @@ func TestCancelUnbondingDelegation(t *testing.T) {
|
||||
name: "invalid delegator address",
|
||||
exceptErr: true,
|
||||
req: types.MsgCancelUnbondingDelegation{
|
||||
DelegatorAddress: "invalid_delegator_addrtess",
|
||||
DelegatorAddress: "invalid_delegator_address",
|
||||
ValidatorAddress: resUnbond.ValidatorAddress,
|
||||
Amount: unbondingAmount,
|
||||
CreationHeight: 0,
|
||||
|
||||
@@ -68,7 +68,7 @@ func TestSlashUnbondingDelegation(t *testing.T) {
|
||||
|
||||
assert.NilError(t, f.stakingKeeper.SetUnbondingDelegation(f.sdkCtx, ubd))
|
||||
|
||||
// unbonding started prior to the infraction height, stakw didn't contribute
|
||||
// unbonding started prior to the infraction height, stake didn't contribute
|
||||
slashAmount, err := f.stakingKeeper.SlashUnbondingDelegation(f.sdkCtx, ubd, 1, fraction)
|
||||
assert.NilError(t, err)
|
||||
assert.Assert(t, slashAmount.Equal(math.NewInt(0)))
|
||||
|
||||
Reference in New Issue
Block a user