Skip to content

Commit

Permalink
fix typeos
Browse files Browse the repository at this point in the history
  • Loading branch information
biemoh committed Dec 10, 2024
1 parent 2aae6bf commit 77b89db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions modules/core/04-channel/v2/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func (k *Keeper) GetPacketReceipt(ctx context.Context, channelID string, sequenc
return bz, true
}

// HasPacketRceipt returns true if the packet receipt exists, otherwise false.
// HasPacketReceipt returns true if the packet receipt exists, otherwise false.
func (k *Keeper) HasPacketReceipt(ctx context.Context, channelID string, sequence uint64) bool {
store := k.storeService.OpenKVStore(ctx)
has, err := store.Has(hostv2.PacketReceiptKey(channelID, sequence))
Expand Down Expand Up @@ -157,7 +157,7 @@ func (k *Keeper) SetPacketAcknowledgement(ctx context.Context, channelID string,
}
}

// HasPacketAcknowledgement check if the packet ack hash is already on the store.
// HasPacketAcknowledgement checks if the packet ack hash is already on the store.
func (k *Keeper) HasPacketAcknowledgement(ctx context.Context, channelID string, sequence uint64) bool {
return len(k.GetPacketAcknowledgement(ctx, channelID, sequence)) > 0
}
Expand Down
1 change: 0 additions & 1 deletion modules/core/04-channel/v2/keeper/msg_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ func (k *Keeper) SendPacket(ctx context.Context, msg *types.MsgSendPacket) (*typ
}

// RecvPacket implements the PacketMsgServer RecvPacket method.

func (k *Keeper) RecvPacket(ctx context.Context, msg *types.MsgRecvPacket) (*types.MsgRecvPacketResponse, error) {
sdkCtx := sdk.UnwrapSDKContext(ctx)

Expand Down

0 comments on commit 77b89db

Please sign in to comment.