Skip to content

Commit ff10425

Browse files
committed
Check min replica block
Signed-off-by: cyc60 <avsysoev60@gmail.com>
1 parent 122ecc2 commit ff10425

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/exits/tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ async def _fetch_last_update_block_replicas(replicas: list[str]) -> BlockNumber
8282
if not isinstance(res, Exception) and res is not None:
8383
blocks.append(res)
8484
if blocks:
85-
return max(blocks)
85+
return min(blocks)
8686
return None
8787

8888

0 commit comments

Comments
 (0)