aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline/src/utils/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/pipeline/src/utils/index.ts')
-rw-r--r--packages/pipeline/src/utils/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/pipeline/src/utils/index.ts b/packages/pipeline/src/utils/index.ts
index 732c259d7..b6d84a565 100644
--- a/packages/pipeline/src/utils/index.ts
+++ b/packages/pipeline/src/utils/index.ts
@@ -56,5 +56,5 @@ export const bigNumberTransformer = new BigNumberTransformer();
export function getHourInUnixTime(): number {
const currentTime: number = Date.now();
// tslint:disable-next-line
- return currentTime - (currentTime % (3600 * 1000));
+ return currentTime - currentTime % (3600 * 1000);
}