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

Bugfix/geth console displays incorrect block timestamp #762

Conversation

SatpalSandhu61
Copy link
Contributor

@SatpalSandhu61 SatpalSandhu61 commented Jul 1, 2019

Fixes #698 where geth console displays incorrect timestamp under Raft, due to Raft holding block timestamp in nanoseconds, instead of seconds.
This PR incorporates review comments and adds unit test.

Copy link
Contributor

@trung trung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@jbhurat jbhurat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sinornis
Copy link

good

Copy link

@sinornis sinornis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

usefull

@jpmsam jpmsam merged commit a9f96e0 into Consensys:master Jul 17, 2019
@SatpalSandhu61 SatpalSandhu61 deleted the bugfix/geth-console-displays-incorrect-block-timestamp branch July 18, 2019 09:30
henryfour pushed a commit to henryfour/quorum that referenced this pull request Jul 22, 2019
Fix issue where geth console displays incorrect timestamp under Raft, due to Raft holding block timestamp in nanoseconds, instead of seconds.
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 this pull request may close these issues.

Raft consensus: geth console displays incorrect block timestamp
6 participants