From 75b1503676e14293aa1e413c0e613f7d3aead518 Mon Sep 17 00:00:00 2001 From: Achilleas Kalantzis Date: Tue, 13 Sep 2022 09:48:36 +0300 Subject: [PATCH] chore: fix cronjob --- pyinjective/async_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index 327aedb0..43f3818c 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -141,7 +141,7 @@ def __init__( ) # timeout height update routine - aiocron.crontab( + self.cron = aiocron.crontab( '* * * * * */{}'.format(DEFAULT_TIMEOUTHEIGHT_SYNC_INTERVAL), func=self.sync_timeout_height, args=(),