Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
gjermundgaraba committed Nov 15, 2024
1 parent 8a4fb46 commit 468035e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions modules/apps/transfer/v2/ibc_module.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
}

Expand Down
3 changes: 2 additions & 1 deletion modules/apps/transfer/v2/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,14 +169,15 @@ 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.
// TODO: inside this version of the function, we should fetch the packet that was stored in IBC core in order to set it for forwarding.
// if err := k.forwardPacket(ctx, data, packet, receivedCoins); err != nil {
// return err
// }
//}
// }

// TODO: telemetry
// telemetry.ReportOnRecvPacket(packet, data.Tokens)
Expand Down

0 comments on commit 468035e

Please sign in to comment.