Skip to content

Commit

Permalink
fix: error within CreateRawIBCPackageByIdWithFee
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonberg1997 committed Jan 6, 2024
1 parent 7db666f commit 2b07ff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/stake/handler_sidechain.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 2b07ff2

Please sign in to comment.