From 2b07ff2e301efaee041e06116b5dc9d809314dfd Mon Sep 17 00:00:00 2001 From: Roshan Date: Sat, 6 Jan 2024 17:41:02 +0800 Subject: [PATCH] fix: error within `CreateRawIBCPackageByIdWithFee` --- x/stake/handler_sidechain.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()