connector

This commit is contained in:
4tochka 2019-05-01 14:36:11 +04:00
parent 8cac008cd5
commit ef8f948ccd

View File

@ -309,7 +309,7 @@ class Connector:
async def _get_block_by_hash(self, hash):
self.log.debug("get block by hash %s" % hash)
try:
block = self.block_hashes_preload.pop(hash)
block = self.block_hashes.pop(hash)
if not block:
q = time.time()
block = await self.rpc.getblock(hash)