mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-05-16 13:23:05 -04:00
Add some internal documenation
This commit is contained in:
parent
44dc2d06c6
commit
464dc23ff0
4 changed files with 122 additions and 24 deletions
|
@ -464,7 +464,7 @@ class Link:
|
|||
for resource in self.outgoing_resources:
|
||||
resource.cancel()
|
||||
if self._channel:
|
||||
self._channel.shutdown()
|
||||
self._channel._shutdown()
|
||||
|
||||
self.prv = None
|
||||
self.pub = None
|
||||
|
@ -801,7 +801,7 @@ class Link:
|
|||
RNS.log(f"Channel data received without open channel", RNS.LOG_DEBUG)
|
||||
else:
|
||||
plaintext = self.decrypt(packet.data)
|
||||
self._channel.receive(plaintext)
|
||||
self._channel._receive(plaintext)
|
||||
packet.prove()
|
||||
|
||||
elif packet.packet_type == RNS.Packet.PROOF:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue