Skip to content

Conversation

@pelle
Copy link

@pelle pelle commented Mar 9, 2016

This does the following

  • bump ethereumjs-tx to 1.1.0
  • Whenever possible use same Crypto library as used in ethereumjs-util
  • Use nacl's randomBytes instead of Bitcore.Random
  • Removes parse-asn from browserified bundle

It lowers the size of the minimized version from 160k to 105k

@slothbag
Copy link

I just tried out the prebuilt lightwallet.min.js from this PR and it locks up my browser upon txutil.functionTx & signTx.

else if (typeof extraEntropy === 'string') {
var entBuf = new Buffer(extraEntropy);
var randBuf = Random.getRandomBuffer(256 / 8);
var randBuf = nacl.randomBytes(256 / 8);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this work? It's of type Uint8Array and not Buffer

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

Successfully merging this pull request may close these issues.

4 participants