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

Eth::block() not working for BlockNumber::Pending #404

Closed
yq0810 opened this issue Nov 13, 2020 · 1 comment
Closed

Eth::block() not working for BlockNumber::Pending #404

yq0810 opened this issue Nov 13, 2020 · 1 comment

Comments

@yq0810
Copy link
Contributor

yq0810 commented Nov 13, 2020

web3.eth().block(BlockNumber::Pending.into())
in infura and have the similar error #342
Err(Decoder("Error(\"invalid type: null, expected a 0x-prefixed hex string with length of 40\", line: 0, column: 0)"))
using commit
f68b3a1

Working after modification
#405

@tomusdrw
Copy link
Owner

Fixed in #405

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