Revert "Only send proof if link is still active"

This commit is contained in:
Aaron Heise
2023-02-28 08:24:13 -06:00
parent 8168d9bb92
commit 72300cc821

View File

@@ -808,8 +808,7 @@ class Link:
else: else:
plaintext = self.decrypt(packet.data) plaintext = self.decrypt(packet.data)
self._channel._receive(plaintext) self._channel._receive(plaintext)
if self.status == Link.ACTIVE: packet.prove()
packet.prove()
elif packet.packet_type == RNS.Packet.PROOF: elif packet.packet_type == RNS.Packet.PROOF:
if packet.context == RNS.Packet.RESOURCE_PRF: if packet.context == RNS.Packet.RESOURCE_PRF: