Skip to content

Commit 94ae668

Browse files
committed
remove delay
1 parent 51c7962 commit 94ae668

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

fees/hipo/index.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ export default {
3535
throw new Error('Expected a zero exit code, but got ' + getTreasuryState.exit_code)
3636
}
3737

38-
await sleep(1000)
39-
4038
const response2 = await postURL('https://toncenter.com/api/v2/runGetMethod', {
4139
address,
4240
method: 'get_times',
@@ -90,7 +88,3 @@ function normalizer(durationInSeconds: number): ((x: number) => string) {
9088
return (x * oneDayInSeconds / durationInSeconds).toFixed(9)
9189
}
9290
}
93-
94-
function sleep(ms: number) {
95-
return new Promise((resolve) => setTimeout(resolve, ms))
96-
}

0 commit comments

Comments
 (0)