From e9b647d5a7b635a96776122c14b775a5d0a73fce Mon Sep 17 00:00:00 2001 From: Sudo-Ivan Date: Tue, 30 Dec 2025 21:13:34 -0600 Subject: [PATCH] refactor: remove unused timestamp and data comments in SendLinkPacket function --- pkg/common/interfaces.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/common/interfaces.go b/pkg/common/interfaces.go index fc70c3d..ca4e200 100644 --- a/pkg/common/interfaces.go +++ b/pkg/common/interfaces.go @@ -181,12 +181,10 @@ func (i *BaseInterface) SendLinkPacket(dest []byte, data []byte, timestamp time. packet = append(packet, 0x02) // Link packet type packet = append(packet, dest...) - // Add timestamp ts := make([]byte, 8) binary.BigEndian.PutUint64(ts, uint64(timestamp.Unix())) // #nosec G115 packet = append(packet, ts...) - // Add data packet = append(packet, data...) return i.Send(packet, "")