Skip to content

Commit f6ec934

Browse files
authored
fix 24h delay
1 parent e4d163e commit f6ec934

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/wrappa/postgres/query.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ const getLargeTransaction = async (txPK: number, timestamp: number) => {
332332
type VolumeType = "deposit" | "withdrawal" | "both";
333333

334334
const getLast24HVolume = async (bridgeName: string, volumeType: VolumeType = "both"): Promise<number> => {
335-
const twentyFourHoursAgo = Math.floor(Date.now() / 1000) - 25 * 60 * 60;
335+
const twentyFourHoursAgo = Math.floor(Date.now() / 1000) - 26 * 60 * 60;
336336

337337
let volumeColumn = sql``;
338338
switch (volumeType) {

0 commit comments

Comments
 (0)