Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Commit

Permalink
[indexer] always use timestamp in seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
YBadiss committed Mar 27, 2024
1 parent 3134198 commit fd90901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fc-community-indexer/src/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1824,7 +1824,7 @@ const listenToEventsForNetwork = (
networkName: network.name,
contractAddress: event.address,
eventName: event.eventName,
blockTimestamp: Date.now(),
blockTimestamp: Math.floor(Date.now() / 1000),
blockNumber: event.blockNumber,
eventArgs: factchainContract.parseEvent(event),
};
Expand Down

0 comments on commit fd90901

Please sign in to comment.