Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong code comment #15

Closed
robojones opened this issue Aug 15, 2019 · 0 comments · Fixed by #16
Closed

Wrong code comment #15

robojones opened this issue Aug 15, 2019 · 0 comments · Fixed by #16

Comments

@robojones
Copy link
Owner

iid/iid.go

Line 40 in ef30a91

// Write current UNIX time in ms to the first four bytes.

The time is acutally in seconds, not milliseconds.
The 32 bits of the timestamp are written into the second to 33rd most significant bits, affecting the first five bytes in the byte array.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant