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

Cannot read property '0' of undefined #14

Open
hoangnt2601 opened this issue Jun 26, 2018 · 0 comments
Open

Cannot read property '0' of undefined #14

hoangnt2601 opened this issue Jun 26, 2018 · 0 comments

Comments

@hoangnt2601
Copy link

I run the following command:

  1. truffle console
  2. hash = web3.sha3("message")
  3. web3.personal.sign(hash, web3.eth.account[0])
    When I run the above commands I can not sign. It reported the following error "TypeError: Cannot read property '0' of undefined"
    I'm using your chapter 4
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