Require aiorpcX >= 0.7.3

This commit is contained in:
Neil Booth 2018-08-18 13:10:25 +09:00
parent 437ad9b446
commit 866342c4d8

View File

@ -80,8 +80,8 @@ class Controller(ServerBase):
'''Start the RPC server and wait for the mempool to synchronize. Then '''Start the RPC server and wait for the mempool to synchronize. Then
start serving external clients. start serving external clients.
''' '''
if not (0, 7, 1) <= aiorpcx_version < (0, 8): if not (0, 7, 3) <= aiorpcx_version < (0, 8):
raise RuntimeError('aiorpcX version 0.7.x required with x >= 1') raise RuntimeError('aiorpcX version 0.7.x required with x >= 3')
env = self.env env = self.env
min_str, max_str = env.coin.SESSIONCLS.protocol_min_max_strings() min_str, max_str = env.coin.SESSIONCLS.protocol_min_max_strings()