cryptozombie-lessons
cryptozombie-lessons copied to clipboard
Fix accounts bug inside 8.md
Bug explanation:
The web3.eth.accounts isn't an array as the code expects but a series of functions as per https://web3js.readthedocs.io/en/1.0/web3-eth-accounts.html
Instead, the correct implementation ought to use web.eth.getAccounts as per https://web3js.readthedocs.io/en/1.0/web3-eth.html#getaccounts
- [x] I did these translations myself and own copyright for them
- [x] I didn't use a machine to do these translations
- [x] I assign all copyright to Loom Network for these translations
Thanks @diranl, do you mind to accept the terms on check boxes?
Done