Update repeater/handler_helpers/trace.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Lloyd
2025-12-09 21:39:18 +00:00
committed by GitHub
parent 1a490ee571
commit 0e5037a7f3

View File

@@ -215,7 +215,7 @@ class TraceHelper:
"""
# Update the packet record to show it will be transmitted
if self.repeater_handler and hasattr(self.repeater_handler, 'recent_packets'):
packet_hash = packet.calculate_packet_hash().hex()[:16]
packet_hash = packet.calculate_packet_hash().hex().upper()[:16]
for record in reversed(self.repeater_handler.recent_packets):
if record.get("packet_hash") == packet_hash:
record["transmitted"] = True