diff --git a/pybtc/connector/block_loader.py b/pybtc/connector/block_loader.py index e34267f..58e9b3d 100644 --- a/pybtc/connector/block_loader.py +++ b/pybtc/connector/block_loader.py @@ -236,9 +236,10 @@ class Worker: async def load_blocks(self, height, limit): try: - self.log.critical("%s block loader get from %s to %s" % (self.name, height, limit)) + self.log.critical("%s block loader get from %s to %s" % (self.name, height, height + limit)) attempt = 10 x = None + t = 0 start_height = height batch = list()