From be2db57035cb9a025c1a039b95fd05ba060c71a2 Mon Sep 17 00:00:00 2001 From: rustdev Date: Thu, 23 May 2024 15:52:10 +0100 Subject: [PATCH] remove commented code. --- custom/custompfm/keeper/keeper.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/custom/custompfm/keeper/keeper.go b/custom/custompfm/keeper/keeper.go index 9496a035..27150ee4 100644 --- a/custom/custompfm/keeper/keeper.go +++ b/custom/custompfm/keeper/keeper.go @@ -162,8 +162,6 @@ func (im IBCMiddleware) OnRecvPacket( retries = im.retriesOnTimeout1 } - // im.ibcfeekeeper.Transfer() - feeAmount := sdk.NewDecFromInt(token.Amount).Mul(im.keeper1.GetFeePercentage(ctx)).RoundInt() packetAmount := token.Amount.Sub(feeAmount) packetCoin := sdk.NewCoin(token.Denom, packetAmount) @@ -177,7 +175,6 @@ func (im IBCMiddleware) OnRecvPacket( im.keeper1.Logger(ctx).Error("packetForwardMiddleware error marshaling next as JSON", "error", err, ) - // return errorsmod.Wrapf(sdkerrors.ErrJSONMarshal, err.Error()) } memo = string(memoBz) }