Skip to content

Commit

Permalink
remove commented code.
Browse files Browse the repository at this point in the history
  • Loading branch information
RustNinja committed May 23, 2024
1 parent 1ba80f0 commit be2db57
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions custom/custompfm/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
}
Expand Down

0 comments on commit be2db57

Please sign in to comment.