From 492f3cddca4e3fc8fe2148ab60e660041208cdb8 Mon Sep 17 00:00:00 2001 From: spsjvc Date: Tue, 17 Dec 2024 14:26:20 +0100 Subject: [PATCH] unused --- .../util/withdrawals/fetchETHWithdrawalsFromEventLogs.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/arb-token-bridge-ui/src/util/withdrawals/fetchETHWithdrawalsFromEventLogs.ts b/packages/arb-token-bridge-ui/src/util/withdrawals/fetchETHWithdrawalsFromEventLogs.ts index 1993b10d55..6550370a86 100644 --- a/packages/arb-token-bridge-ui/src/util/withdrawals/fetchETHWithdrawalsFromEventLogs.ts +++ b/packages/arb-token-bridge-ui/src/util/withdrawals/fetchETHWithdrawalsFromEventLogs.ts @@ -1,10 +1,6 @@ import { Provider, BlockTag } from '@ethersproject/providers' import { ChildToParentMessageReader } from '@arbitrum/sdk' -export type FetchETHWithdrawalsFromEventLogsResult = Awaited< - ReturnType -> - /** * Fetches initiated ETH withdrawals from event logs in range of [fromBlock, toBlock]. * @@ -24,7 +20,7 @@ export function fetchETHWithdrawalsFromEventLogs({ fromBlock: BlockTag toBlock: BlockTag l2Provider: Provider -}): Promise { +}) { if (typeof receiver === 'undefined') { return Promise.resolve([]) }