Start peer discovery whilst syncing the mempool

This commit is contained in:
Neil Booth 2018-07-23 15:00:49 +08:00
parent 0963ce5230
commit 3e535e47f4

View File

@ -113,8 +113,8 @@ class Controller(ServerBase):
'''
self.session_mgr.start_rpc_server()
await self.bp.catch_up_to_daemon()
await self.mempool.start_and_wait_for_sync()
self.peer_mgr.start_peer_discovery()
await self.mempool.start_and_wait_for_sync()
self.session_mgr.start_serving()
async def shutdown(self):