diff --git a/server/netwrapper.py b/server/netwrapper.py index 8a2f1bb..4146d2c 100644 --- a/server/netwrapper.py +++ b/server/netwrapper.py @@ -51,8 +51,6 @@ class NetWrapper: def serverIdentify(self, msg: bytes) -> None: incommingJson = json.loads(msg.decode('UTF-8')) header = json.loads(b64decode(incommingJson['header']).decode('UTF-8')) - if incommingJson['type'] != "IDY": - raise Exception('Wrong message type encountered') try: if not self.verifyRSAHeaderSignature(b64decode(incommingJson['header']), b64decode(incommingJson['headersignature'])) or header[