support pre-merge clients connecting to wallet server

This commit is contained in:
Jack Robison 2020-01-03 17:02:19 -05:00
parent 79557bb878
commit 0a9d95a4b5
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -776,7 +776,7 @@ class LBRYElectrumX(SessionBase):
"""A TCP server that handles incoming Electrum connections."""
PROTOCOL_MIN = lbry.version
PROTOCOL_MAX = (1, 0)
PROTOCOL_MAX = (2, 0)
max_errors = math.inf # don't disconnect people for errors! let them happen...
session_mgr: LBRYSessionManager
version = lbry.__version__