connector
This commit is contained in:
parent
8cac008cd5
commit
ef8f948ccd
@ -309,7 +309,7 @@ class Connector:
|
|||||||
async def _get_block_by_hash(self, hash):
|
async def _get_block_by_hash(self, hash):
|
||||||
self.log.debug("get block by hash %s" % hash)
|
self.log.debug("get block by hash %s" % hash)
|
||||||
try:
|
try:
|
||||||
block = self.block_hashes_preload.pop(hash)
|
block = self.block_hashes.pop(hash)
|
||||||
if not block:
|
if not block:
|
||||||
q = time.time()
|
q = time.time()
|
||||||
block = await self.rpc.getblock(hash)
|
block = await self.rpc.getblock(hash)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user