-
Notifications
You must be signed in to change notification settings - Fork 20.2k
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
ethstats: fix bug in block reporting #28398
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, looks like this was broken by cd31f2d
where CurrentBlock was changed to return a header, which fails the type assertion on line 634
@holiman Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks! |
Fixes a bug where the ethstats omits to report full block contents. This bug was a side-effect of ethereum#26777, where `CurrentBlock` was changed to return a header instead of a block, leading to a failed type assertion.
This reverts commit a4ebc4d.
This reverts commit a4ebc4d.
Fixes a bug where the ethstats omits to report full block contents. This bug was a side-effect of ethereum#26777, where `CurrentBlock` was changed to return a header instead of a block, leading to a failed type assertion.
Fixed Geth always reporting 0 txs per block while other node implementations report it correctly on https://ethstats.dev/.