Skip to content

Commit

Permalink
chore: made registration mock data generator use realistic dates
Browse files Browse the repository at this point in the history
  • Loading branch information
Aerilym committed Jul 15, 2024
1 parent 8bbc9e0 commit f83fe10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sent-staking-js/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ export const generateNodeRegistration = ({
pubkey_bls: generateNodePubKey(),
sig_bls: generateNodePubKey(),
sig_ed25519: generateNodePubKey(),
timestamp: Date.now() - Math.random() * 10000,
timestamp: (Date.now() - Math.random() * Math.pow(Math.random() * 10, 10)) / 1000,
type,
operator: userAddress,
};
Expand Down

0 comments on commit f83fe10

Please sign in to comment.