diff --git a/x/liquidstakeibc/keeper/hooks.go b/x/liquidstakeibc/keeper/hooks.go index de489301..57bd47be 100644 --- a/x/liquidstakeibc/keeper/hooks.go +++ b/x/liquidstakeibc/keeper/hooks.go @@ -712,7 +712,8 @@ func (k *Keeper) ValidatorUndelegationWorkflow(ctx sdk.Context, epoch int64) { for _, validator := range hc.Validators { // check if there are validators that need to be unbonded if validator.UnbondingEpoch > 0 && - validator.UnbondingEpoch+liquidstakeibctypes.UnbondingStateEpochLimit <= epoch { + validator.UnbondingEpoch+liquidstakeibctypes.UnbondingStateEpochLimit <= epoch && + validator.DelegatedAmount.GT(sdk.ZeroInt()) { // unbond all delegated tokens from the validator validatorUnbonding := &liquidstakeibctypes.ValidatorUnbonding{