Skip to content

Commit

Permalink
fix: cross undelegate before FirstSunsetFork
Browse files Browse the repository at this point in the history
  • Loading branch information
j75689 committed Jan 4, 2024
1 parent b4ae22d commit 61d54ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/stake/cross_stake/cross_stake.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ func (app *CrossStakeApp) handleUndelegate(ctx sdk.Context, pack *types.CrossSta
return sdk.ExecuteResult{}, errCode, err
}
} else {
_, err := app.stakeKeeper.BeginUnbonding(ctx.WithCrossStake(true), delAddr, pack.Validator, shares, false)
_, err := app.stakeKeeper.BeginUnbonding(ctx.WithCrossStake(true), delAddr, pack.Validator, shares, true)
if err != nil {
return sdk.ExecuteResult{}, errCode, err
}
Expand Down

0 comments on commit 61d54ae

Please sign in to comment.