andywer / andywer/threads.js

eth-lightwallet crashes when using thread.js

オープン
#443 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
3.5k
フォーク
173
PR マージ指標
30日以内にマージされた PR はありません

説明

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. (/Users/merhebiaisha/Documents/aisha/base1/nft-bot/node_modules/scrypt-async/scrypt-async.js:502:11)`
for some reason elliptic function start failing

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。