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

Ethereum LightWallet exception at keystore.generateNewAddress: Cannot read property 'encStr' of undefined #176

Open
Muhammad-Altabba opened this issue Dec 6, 2017 · 2 comments

Comments

@Muhammad-Altabba
Copy link

Having an error when running the page: "example_demo_video.html".
At the following snippet en exception is thrown!

var seed = document.getElementById('seed').value
var password = prompt('Enter Password to encrypt seed', 'Password')
var keystore = new lightwallet.keystore(seed, password)

keystore.generateNewAddress(password, 3)

Exception call stack:


Uncaught TypeError: Cannot read property 'encStr' of undefined
    at Function.KeyStore._decryptString (lightwallet.js:322)
    at KeyStore.isDerivedKeyCorrect (lightwallet.js:303)
    at KeyStore.generateNewAddress (lightwallet.js:579)
    at setSeed (example_demo_video.html:15)
    at HTMLButtonElement.onclick (example_demo_video.html:55)

@kazaff
Copy link

kazaff commented Feb 28, 2018

m2, how can i fix it?

@MinhoKim1018
Copy link

MinhoKim1018 commented Apr 19, 2019

cause you made keystore without Mnemonic code.

check your Mnemonic code

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

3 participants