Skip to content

Commit

Permalink
fix 24h delay
Browse files Browse the repository at this point in the history
  • Loading branch information
vrtnd authored Nov 24, 2024
1 parent e4d163e commit f6ec934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/wrappa/postgres/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ const getLargeTransaction = async (txPK: number, timestamp: number) => {
type VolumeType = "deposit" | "withdrawal" | "both";

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

let volumeColumn = sql``;
switch (volumeType) {
Expand Down

0 comments on commit f6ec934

Please sign in to comment.