This commit is contained in:
Mark Qvist 2025-05-13 13:29:20 +02:00
parent 11e06b477e
commit d4ea698236

View file

@ -226,7 +226,6 @@ class Link:
return None
# TODO: Set default link mode to AES_256_CBC after migration
def __init__(self, destination=None, established_callback=None, closed_callback=None, owner=None, peer_pub_bytes=None, peer_sig_pub_bytes=None, mode=MODE_DEFAULT):
if destination != None and destination.type != RNS.Destination.SINGLE: raise TypeError("Links can only be established to the \"single\" destination type")
self.mode = mode