Require aiorpcX 0.7.0

This commit is contained in:
Neil Booth 2018-08-08 12:08:33 +09:00
parent a3afab83d6
commit 962b4679d7

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, 6, 2) <= aiorpcx_version < (0, 7): if not (0, 7) <= aiorpcx_version < (0, 8):
raise RuntimeError('aiorpcX version 0.6.x with x>=2 required') raise RuntimeError('aiorpcX version 0.7.x required')
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()