-
Notifications
You must be signed in to change notification settings - Fork 153
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
Uncle blocks are missing in eth_getBlockByHash RPC response #332
Comments
APshenkin
changed the title
Uncle blocks are missing in eth_getBlockByHash RPC request
Uncle blocks are missing in eth_getBlockByHash RPC response
Mar 12, 2021
Also eth_getBlockByHash don't return transactions array if it's empty. Seems like some issue with serialization? (it removes empty arrays from response) |
Seems related to this code. core-geth/internal/ethapi/api.go Line 1220 in 73e58be
omitempty should be removed |
Yeap, I think you're right on. Will have a PR in today fixing this. Good catch, thank you! |
This was referenced Mar 12, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there,
Please note that this is an issue tracker reserved for bug reports and feature requests.
For general questions please use discord or the Ethereum stack exchange at https://ethereum.stackexchange.com.
System information
Geth version:
1.11.22
OS & Version: Windows/Linux/OSX Docker
Commit hash : (if
develop
)Expected behaviour
eth_getBlockByHash should return uncles in data as array
Actual behaviour
uncles are missing
Steps to reproduce the behaviour
The text was updated successfully, but these errors were encountered: