From 468035e27f63fe63560f519e1abdd03b0d882a92 Mon Sep 17 00:00:00 2001 From: Gjermund Garaba Date: Fri, 15 Nov 2024 15:19:22 +0100 Subject: [PATCH] lint --- modules/apps/transfer/v2/ibc_module.go | 4 ++-- modules/apps/transfer/v2/keeper/keeper.go | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/apps/transfer/v2/ibc_module.go b/modules/apps/transfer/v2/ibc_module.go index 1948f9cf0f7..fcbedc6ef03 100644 --- a/modules/apps/transfer/v2/ibc_module.go +++ b/modules/apps/transfer/v2/ibc_module.go @@ -20,9 +20,9 @@ import ( var _ api.IBCModule = (*IBCModule)(nil) // NewIBCModule creates a new IBCModule given the keeper -func NewIBCModule(keeper *keeper.Keeper) *IBCModule { +func NewIBCModule(k *keeper.Keeper) *IBCModule { return &IBCModule{ - keeper: keeper, + keeper: k, } } diff --git a/modules/apps/transfer/v2/keeper/keeper.go b/modules/apps/transfer/v2/keeper/keeper.go index cc159b86247..6cf535b0cac 100644 --- a/modules/apps/transfer/v2/keeper/keeper.go +++ b/modules/apps/transfer/v2/keeper/keeper.go @@ -169,6 +169,7 @@ func (k *Keeper) OnRecvPacket(ctx context.Context, sourceChannel, destChannel st } } + _ = receivedCoins // TODO: remove this line when forwarding is implemented // TODO: forwarding // if data.HasForwarding() { // // we are now sending from the forward escrow address to the final receiver address. @@ -176,7 +177,7 @@ func (k *Keeper) OnRecvPacket(ctx context.Context, sourceChannel, destChannel st // if err := k.forwardPacket(ctx, data, packet, receivedCoins); err != nil { // return err // } - //} + // } // TODO: telemetry // telemetry.ReportOnRecvPacket(packet, data.Tokens)