This commit is contained in:
SomberNight 2018-09-07 19:54:26 +02:00
parent fd40dee337
commit 56c3c76d8b
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

View file

@ -254,7 +254,6 @@ class Interface(PrintError):
self.fut.cancel() self.fut.cancel()
asyncio.get_event_loop().create_task(self.group.cancel_remaining()) asyncio.get_event_loop().create_task(self.group.cancel_remaining())
@aiosafe
async def run_fetch_blocks(self, sub_reply, replies): async def run_fetch_blocks(self, sub_reply, replies):
if self.tip < self.network.max_checkpoint(): if self.tip < self.network.max_checkpoint():
raise GracefulDisconnect('server tip below max checkpoint') raise GracefulDisconnect('server tip below max checkpoint')