X-Git-Url: https://git.novaco.in/?p=electrum-server.git;a=blobdiff_plain;f=processor.py;h=e7a340c8677bc05ea81da47533bab46dfedaab08;hp=56cea3d4c3511fbcad858889d2f0f2aa9d159089;hb=5c10a2976f94f8c2deee76cff2a1f2777dbd2d25;hpb=a6c7750da047d13465a040edfa5fa4a9d3d28328 diff --git a/processor.py b/processor.py index 56cea3d..e7a340c 100644 --- a/processor.py +++ b/processor.py @@ -183,6 +183,10 @@ class RequestDispatcher(threading.Thread): except: pass + if session.protocol_version < 0.6: + print_log("stopping session from old client") + session.stop() + def get_sessions(self): with self.lock: r = self.sessions[:]