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