Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed Jan 15, 2025
1 parent f8010fd commit 1e81a60
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions x/cronos/middleware/conversion_middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,15 +202,6 @@ func (im IBCConversionModule) OnTimeoutPacket(
return err
}

func (im IBCConversionModule) getFungibleTokenPacketData(packet channeltypes.Packet) (transferTypes.FungibleTokenPacketData, error) {
var data transferTypes.FungibleTokenPacketData
if err := transferTypes.ModuleCdc.UnmarshalJSON(packet.GetData(), &data); err != nil {
return data, errors.Wrapf(sdkerrors.ErrUnknownRequest,
"cannot unmarshal ICS-20 transfer packet data in middleware: %s", err.Error())
}
return data, nil
}

func (im IBCConversionModule) convertVouchers(
ctx sdk.Context,
amount string,
Expand Down

0 comments on commit 1e81a60

Please sign in to comment.