Skip to content

Commit

Permalink
remove delay
Browse files Browse the repository at this point in the history
  • Loading branch information
dtmkeng committed Nov 7, 2023
1 parent 51c7962 commit 94ae668
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions fees/hipo/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ export default {
throw new Error('Expected a zero exit code, but got ' + getTreasuryState.exit_code)
}

await sleep(1000)

const response2 = await postURL('https://toncenter.com/api/v2/runGetMethod', {
address,
method: 'get_times',
Expand Down Expand Up @@ -90,7 +88,3 @@ function normalizer(durationInSeconds: number): ((x: number) => string) {
return (x * oneDayInSeconds / durationInSeconds).toFixed(9)
}
}

function sleep(ms: number) {
return new Promise((resolve) => setTimeout(resolve, ms))
}

0 comments on commit 94ae668

Please sign in to comment.