diff --git a/x/stake/handler_sidechain.go b/x/stake/handler_sidechain.go index 63281989f..106caad54 100644 --- a/x/stake/handler_sidechain.go +++ b/x/stake/handler_sidechain.go @@ -526,7 +526,7 @@ func handleMsgSideChainStakeMigration(ctx sdk.Context, msg MsgSideChainStakeMigr } bscRelayFee := bsc.ConvertBCAmountToBSCAmount(relayFee.Amount) - sendSeq, sdkErr := k.IbcKeeper.CreateRawIBCPackageByIdWithFee(ctx, k.DestChainId, types.StakeMigrationChannelID, sdk.SynCrossChainPackageType, + sendSeq, sdkErr := k.IbcKeeper.CreateRawIBCPackageByIdWithFee(ctx.DepriveSideChainKeyPrefix(), k.DestChainId, types.StakeMigrationChannelID, sdk.SynCrossChainPackageType, encodedPackage, *bscRelayFee) if sdkErr != nil { return sdkErr.Result()