Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
RustNinja committed Apr 24, 2024
1 parent 48b6b88 commit f7d9311
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion x/ibctransfermiddleware/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func (k Keeper) GetParams(ctx sdk.Context) (p types.Params) {
return p
}

func (k Keeper) GetCoin(ctx sdk.Context, targetChannelID string, denom string) *types.CoinItem {
func (k Keeper) GetCoin(ctx sdk.Context, targetChannelID, denom string) *types.CoinItem {
params := k.GetParams(ctx)
channelFee := findChannelParams(params.ChannelFees, targetChannelID)
if channelFee == nil {
Expand Down
2 changes: 1 addition & 1 deletion x/transfermiddleware/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ func (keeper Keeper) GetTotalEscrowedToken(ctx sdk.Context) (coins sdk.Coins) {
return coins
}

func (keeper Keeper) RefundChannelCosmosFee(ctx sdk.Context, sender sdk.AccAddress, receiver sdk.AccAddress, amount sdk.Coins) error {
func (keeper Keeper) RefundChannelCosmosFee(ctx sdk.Context, sender, receiver sdk.AccAddress, amount sdk.Coins) error {
if err := keeper.bankKeeper.SendCoins(ctx, sender, receiver, amount); err != nil {
return errorsmod.Wrap(err, "failed to refund channel cosmos fee")
}
Expand Down

0 comments on commit f7d9311

Please sign in to comment.