Skip to content

Commit

Permalink
fix: add missing tag of relayer fee in `handleMsgSideChainStakeMigrat…
Browse files Browse the repository at this point in the history
…ion` (#376)
  • Loading branch information
pythonberg1997 authored Jan 12, 2024
1 parent 08fd2ca commit d893e87
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion x/stake/handler_sidechain.go
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,12 @@ func handleMsgSideChainStakeMigration(ctx sdk.Context, msg MsgSideChainStakeMigr
tags.SrcValidator, []byte(msg.ValidatorSrcAddr.String()),
tags.EndTime, finishTime,
)
txTags = append(txTags, sdk.GetPegInTag(denom, ubd.Balance.Amount))

for _, coin := range transferAmt {
if coin.Amount > 0 {
txTags = append(txTags, sdk.GetPegInTag(coin.Denom, coin.Amount))
}
}
txTags = append(txTags, sdk.MakeTag(types.TagStakeMigrationSendSequence, []byte(strconv.FormatUint(sendSeq, 10))))

return sdk.Result{
Expand Down

0 comments on commit d893e87

Please sign in to comment.