From f48330a3a134cc74b34ff44237cf2b400b09f597 Mon Sep 17 00:00:00 2001 From: Damian Nolan Date: Mon, 4 Nov 2024 16:51:37 +0100 Subject: [PATCH] chore: rm commented code --- modules/core/04-channel/v2/keeper/grpc_query.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/modules/core/04-channel/v2/keeper/grpc_query.go b/modules/core/04-channel/v2/keeper/grpc_query.go index a11adc4b426..2268dfc2e6e 100644 --- a/modules/core/04-channel/v2/keeper/grpc_query.go +++ b/modules/core/04-channel/v2/keeper/grpc_query.go @@ -102,11 +102,6 @@ func (q *queryServer) PacketCommitments(ctx context.Context, req *types.QueryPac return types.ErrInvalidPacket } - // sequence, err := strconv.ParseUint(keySplit[len(keySplit)-1], 10, 64) - // if err != nil { - // return err - // } - commitment := types.NewPacketState(req.ChannelId, sequence, value) commitments = append(commitments, &commitment) return nil