From 61d54ae0441c14a388b1b08aa381d17a56207760 Mon Sep 17 00:00:00 2001 From: j75689 Date: Thu, 4 Jan 2024 11:54:04 +0800 Subject: [PATCH] fix: cross undelegate before FirstSunsetFork --- x/stake/cross_stake/cross_stake.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/stake/cross_stake/cross_stake.go b/x/stake/cross_stake/cross_stake.go index 73e9d90d7..06d4cebfb 100644 --- a/x/stake/cross_stake/cross_stake.go +++ b/x/stake/cross_stake/cross_stake.go @@ -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 }