Skip to content

Commit

Permalink
weird
Browse files Browse the repository at this point in the history
  • Loading branch information
spsjvc committed Dec 12, 2024
1 parent b90e4d9 commit 65ff6e7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
Expand Down

0 comments on commit 65ff6e7

Please sign in to comment.