refactor: remove unused timestamp and data comments in SendLinkPacket function

This commit is contained in:
2025-12-30 21:13:34 -06:00
parent 7d57888696
commit e9b647d5a7

View File

@@ -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, "")