diff --git a/pybtc/connector.py b/pybtc/connector.py index e2dc5bb..8102f8a 100644 --- a/pybtc/connector.py +++ b/pybtc/connector.py @@ -582,6 +582,7 @@ class Connector: batch.append(["getblockhash", height]) if len(batch) >= self.batch_limit or height >= max_height: break + height += 1 result = await self.rpc.batch(batch) self.log.warning(str(height))