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 e856a60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/axelarnet/message_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ func handleMessage(ctx sdk.Context, n types.Nexus, b types.BankKeeper, sourceAdd
func handleMessageWithToken(ctx sdk.Context, n types.Nexus, b types.BankKeeper, sourceAddress nexus.CrossChainAddress, msg Message, token keeper.Coin) error {
id, txID, nonce := n.GenerateMessageID(ctx)

token, err := deductFee(ctx, b, msg.Fee, token, id, sourceAddress.Chain.Name, nexus.ChainName(msg.DestinationChain))
token, err := deductFee(ctx, b, msg.Fee, token, id, sourceAddress.Chain.Name, nexus.ChainName(strings.ToLower(msg.DestinationChain)))
if err != nil {
return err
}
Expand Down

0 comments on commit e856a60

Please sign in to comment.