From 8168d9bb92482881650cc8aa25780efe29ff2902 Mon Sep 17 00:00:00 2001 From: Aaron Heise <5148966+acehoss@users.noreply.github.com> Date: Tue, 28 Feb 2023 08:13:07 -0600 Subject: [PATCH] Only send proof if link is still active --- RNS/Link.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/RNS/Link.py b/RNS/Link.py index 822e1fc..9f95ba0 100644 --- a/RNS/Link.py +++ b/RNS/Link.py @@ -808,7 +808,8 @@ class Link: else: plaintext = self.decrypt(packet.data) self._channel._receive(plaintext) - packet.prove() + if self.status == Link.ACTIVE: + packet.prove() elif packet.packet_type == RNS.Packet.PROOF: if packet.context == RNS.Packet.RESOURCE_PRF: