connector
This commit is contained in:
parent
e97d3787df
commit
6713977f52
@ -582,6 +582,7 @@ class Connector:
|
|||||||
batch.append(["getblockhash", height])
|
batch.append(["getblockhash", height])
|
||||||
if len(batch) >= self.batch_limit or height >= max_height:
|
if len(batch) >= self.batch_limit or height >= max_height:
|
||||||
break
|
break
|
||||||
|
height += 1
|
||||||
result = await self.rpc.batch(batch)
|
result = await self.rpc.batch(batch)
|
||||||
self.log.warning(str(height))
|
self.log.warning(str(height))
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user