diff --git a/packages/arb-token-bridge-ui/src/util/withdrawals/fetchWithdrawals.ts b/packages/arb-token-bridge-ui/src/util/withdrawals/fetchWithdrawals.ts index 9acb8fe19f..9b8e1b6274 100644 --- a/packages/arb-token-bridge-ui/src/util/withdrawals/fetchWithdrawals.ts +++ b/packages/arb-token-bridge-ui/src/util/withdrawals/fetchWithdrawals.ts @@ -87,7 +87,9 @@ export async function fetchWithdrawals({ const ethWithdrawalsFromEventLogs = await backOff(() => fetchETHWithdrawalsFromEventLogs({ receiver, - fromBlock: toBlock + 1, + // not sure why eslint is treating "toBlock" as "number | undefined" here + // even though typescript recognizes it as "number" + fromBlock: toBlock ?? 0 + 1, toBlock: 'latest', l2Provider: l2Provider })