Skip to content

Commit

Permalink
Updated packet proof logic
Browse files Browse the repository at this point in the history
  • Loading branch information
markqvist committed Mar 26, 2024
1 parent f6cc9fd commit 2b3fa79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LXMF/LXMRouter.py
Original file line number Diff line number Diff line change
Expand Up @@ -980,6 +980,7 @@ def lxmf_delivery(self, lxmf_data, destination_type = None, phy_stats = None):
return False

def delivery_packet(self, data, packet):
packet.prove()
try:
if packet.destination_type != RNS.Destination.LINK:
lxmf_data = b""
Expand All @@ -998,7 +999,6 @@ def delivery_packet(self, data, packet):

phy_stats = {"rssi": packet.rssi, "snr": packet.snr, "q": packet.q}

packet.prove()
self.lxmf_delivery(lxmf_data, packet.destination_type, phy_stats=phy_stats)

except Exception as e:
Expand Down

0 comments on commit 2b3fa79

Please sign in to comment.