connector
This commit is contained in:
parent
6639219537
commit
302a89621a
@ -304,7 +304,7 @@ class Connector:
|
|||||||
if not block:
|
if not block:
|
||||||
q = time.time()
|
q = time.time()
|
||||||
block = await self.rpc.getblock(hash)
|
block = await self.rpc.getblock(hash)
|
||||||
self.blocks_download_time += time.time() + q
|
self.blocks_download_time += time.time() - q
|
||||||
self.loop.create_task(self._new_block(block))
|
self.loop.create_task(self._new_block(block))
|
||||||
except Exception:
|
except Exception:
|
||||||
self.log.error("get block by hash %s FAILED" % hash)
|
self.log.error("get block by hash %s FAILED" % hash)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user