From f0c70daa9577985b316547c441bdc105ee7dcec8 Mon Sep 17 00:00:00 2001 From: Bartek Date: Mon, 14 Aug 2023 22:21:57 +0200 Subject: [PATCH] fix --- src/lib/utils/lib.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/utils/lib.ts b/src/lib/utils/lib.ts index e726f58766..4e1c4c8562 100644 --- a/src/lib/utils/lib.ts +++ b/src/lib/utils/lib.ts @@ -118,7 +118,7 @@ export const getBlockRangesForL1Block = async ({ let start = startArbBlock let end = endArbBlock - while (start < end) { + while (start <= end) { // Calculate the midpoint of the current range. const mid = start + Math.floor((end - start) / 2)