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)