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

A possible mistake in week4 material of Blockchain #20

Open
MadanYN opened this issue Aug 6, 2022 · 0 comments
Open

A possible mistake in week4 material of Blockchain #20

MadanYN opened this issue Aug 6, 2022 · 0 comments

Comments

@MadanYN
Copy link

MadanYN commented Aug 6, 2022

code in week 4.md:
w3.eth.get.block('latest') #give info of latest block
w3.eth.get.block(123) #give info of block with block number 123

Eth doesn't seem to have the attribute 'get', instead 'w3.eth.getBlock()' and 'w3.get_block()' can be used to get info about a block

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

1 participant