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

Pass timestamp instead of clock into blockchain.NewBlock #136

Closed
zjshen14 opened this issue Oct 1, 2018 · 0 comments
Closed

Pass timestamp instead of clock into blockchain.NewBlock #136

zjshen14 opened this issue Oct 1, 2018 · 0 comments
Assignees

Comments

@zjshen14
Copy link
Contributor

zjshen14 commented Oct 1, 2018

Blockchain has a clock. When minting a new block, it just needs to pass the timestamp generated from the clock into NewBlock func, instead of passing the clock itself into the func

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

No branches or pull requests

2 participants