From 04585ff2a8af37ee1683aca03d001cd49ae8399a Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Fri, 13 Nov 2026 10:54:53 +0100 Subject: [PATCH] Cleanup --- RNS/Transport.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/RNS/Transport.py b/RNS/Transport.py index 826e44a5..b6361eac 100755 --- a/RNS/Transport.py +++ b/RNS/Transport.py @@ -1926,8 +1926,7 @@ class Transport: if not packet.packet_hash in Transport.packet_hashlist: return True else: if packet.packet_type == RNS.Packet.ANNOUNCE: - if packet.destination_type == RNS.Destination.SINGLE: - return True + if packet.destination_type == RNS.Destination.SINGLE: return True else: RNS.log("Dropped invalid announce packet", RNS.LOG_DEBUG) if RNS.sl(RNS.LOG_DEBUG) else None if packet.receiving_interface: packet.receiving_interface.protocol_violation("Announce packet with invalid destination type")