From 0ccbb53135f1cac98f4d4d1b5e80b86f9f375e6f Mon Sep 17 00:00:00 2001 From: user Date: Wed, 6 Mar 2024 13:30:43 +0300 Subject: [PATCH] dev@locazia: fix misprint --- app/core/background/indexator_service.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/core/background/indexator_service.py b/app/core/background/indexator_service.py index f430a19..9c31a61 100644 --- a/app/core/background/indexator_service.py +++ b/app/core/background/indexator_service.py @@ -13,7 +13,7 @@ async def indexator_loop(platform_found: bool, seqno: int) -> [bool, int]: if not platform_state.get('code'): make_log("TON", "Platform contract is not deployed, skipping loop", level="info") await send_status("indexator", "not working: platform is not deployed") - return + return False, seqno else: platform_found = True @@ -26,6 +26,7 @@ async def indexator_loop(platform_found: bool, seqno: int) -> [bool, int]: await send_status("indexator", f"working (seqno={seqno})") return platform_found, seqno + async def main_fn(): make_log("Indexator", "Service started", level="info") platform_found = False