Skip to content

Commit

Permalink
remove milliseconds from default finding timestamp (for tests)
Browse files Browse the repository at this point in the history
  • Loading branch information
haseebrabbani committed Dec 11, 2023
1 parent 6445fa5 commit 643126e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/finding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export class Finding {
protocol = 'ethereum',
severity,
type,
timestamp = new Date(),
timestamp = new Date(Math.floor(Date.now() / 1000) * 1000),
metadata = {},
addresses = [],
labels = [],
Expand Down

0 comments on commit 643126e

Please sign in to comment.