Skip to content

Commit

Permalink
fix err message (#419)
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-axner authored Sep 20, 2021
1 parent 7c7bf8e commit 3517def
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/apps/27-interchain-accounts/keeper/relay.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func (k Keeper) OnRecvPacket(ctx sdk.Context, packet channeltypes.Packet) error
var data types.IBCAccountPacketData

if err := types.ModuleCdc.UnmarshalJSON(packet.GetData(), &data); err != nil {
return sdkerrors.Wrapf(sdkerrors.ErrUnknownRequest, "cannot unmarshal interchain account packet data: %s", err.Error())
return sdkerrors.Wrapf(types.ErrUnknownPacketData, "cannot unmarshal ICS-27 interchain account packet data")
}

switch data.Type {
Expand Down

0 comments on commit 3517def

Please sign in to comment.