dev@locazia: fix misprint

This commit is contained in:
user 2024-03-06 13:30:43 +03:00
parent 2003688c94
commit 0ccbb53135
1 changed files with 2 additions and 1 deletions

View File

@ -13,7 +13,7 @@ async def indexator_loop(platform_found: bool, seqno: int) -> [bool, int]:
if not platform_state.get('code'): if not platform_state.get('code'):
make_log("TON", "Platform contract is not deployed, skipping loop", level="info") make_log("TON", "Platform contract is not deployed, skipping loop", level="info")
await send_status("indexator", "not working: platform is not deployed") await send_status("indexator", "not working: platform is not deployed")
return return False, seqno
else: else:
platform_found = True 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})") await send_status("indexator", f"working (seqno={seqno})")
return platform_found, seqno return platform_found, seqno
async def main_fn(): async def main_fn():
make_log("Indexator", "Service started", level="info") make_log("Indexator", "Service started", level="info")
platform_found = False platform_found = False