Skip to content

Commit

Permalink
move file
Browse files Browse the repository at this point in the history
  • Loading branch information
spsjvc committed Dec 10, 2024
1 parent 82c13c1 commit 751be46
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export function wait(ms: number) {
return new Promise(resolve => setTimeout(resolve, ms))
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ import {
} from './fetchTokenWithdrawalsFromEventLogs'
import { getNonce } from '../AddressUtils'
import { fetchL2Gateways } from '../fetchL2Gateways'

function wait(ms: number) {
return new Promise(resolve => setTimeout(resolve, ms))
}
import { wait } from '../ExponentialBackoffUtils'

async function getGateways(provider: Provider): Promise<{
standardGateway: string
Expand Down

0 comments on commit 751be46

Please sign in to comment.