Skip to content

Commit

Permalink
lowercase dest chain
Browse files Browse the repository at this point in the history
  • Loading branch information
haiyizxx committed Sep 30, 2024
1 parent 9a8db9e commit 04cf91f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x/axelarnet/message_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ func deductFee(ctx sdk.Context, b types.BankKeeper, fee *Fee, token keeper.Coin,
feeAmount := funcs.MustOk(sdk.NewIntFromString(fee.Amount))
coin := sdk.NewCoin(funcs.Must(token.GetOriginalDenom()), feeAmount)
recipient := funcs.Must(sdk.AccAddressFromBech32(fee.Recipient))
destinationChain = nexus.ChainName(strings.ToLower(destinationChain.String()))

feePaidEvent := types.FeePaid{
MessageID: msgID,
Expand Down

0 comments on commit 04cf91f

Please sign in to comment.