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-lightwallet crashes when using thread.js #443

Open
aishamerhebi opened this issue Aug 18, 2022 · 0 comments
Open

eth-lightwallet crashes when using thread.js #443

aishamerhebi opened this issue Aug 18, 2022 · 0 comments

Comments

@aishamerhebi
Copy link

Whenever i include thread.js library in my code that create ethereum wallets the function stops working causing this exception

ypeError: Cannot read properties of null (reading 'getBytes') at Rand._rand (/Users/merhebiaisha/Documents/aisha/base1/nft-bot/node_modules/brorand/index.js:21:17) at Rand.generate (/Users/merhebiaisha/Documents/aisha/base1/nft-bot/node_modules/brorand/index.js:16:15) at Object.rand (/Users/merhebiaisha/Documents/aisha/base1/nft-bot/node_modules/brorand/index.js:7:12) at EC.genKeyPair (/Users/merhebiaisha/Documents/aisha/base1/nft-bot/node_modules/elliptic/lib/elliptic/ec/index.js:62:42) at KeyStore._computeAddressFromPrivKey (/Users/merhebiaisha/Documents/aisha/base1/nft-bot/node_modules/eth-lightwallet/lib/keystore.js:390:22) at KeyStore.generateNewAddress (/Users/merhebiaisha/Documents/aisha/base1/nft-bot/node_modules/eth-lightwallet/lib/keystore.js:126:30) at /Users/merhebiaisha/Documents/aisha/base1/nft-bot/services/wallets.js:25:20 at cb (/Users/merhebiaisha/Documents/aisha/base1/nft-bot/node_modules/eth-lightwallet/lib/keystore.js:337:5) at /Users/merhebiaisha/Documents/aisha/base1/nft-bot/node_modules/scrypt-async/scrypt-async.js:539:13 at Immediate.<anonymous> (/Users/merhebiaisha/Documents/aisha/base1/nft-bot/node_modules/scrypt-async/scrypt-async.js:502:11)
for some reason elliptic function start failing

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