Skip to content

Commit

Permalink
Use crypto-browserify in browser
Browse files Browse the repository at this point in the history
  • Loading branch information
dworznik committed Mar 12, 2016
1 parent 544f3e1 commit e5c05c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/bcoin.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ if (!bcoin.isBrowser) {
}
} else {
bcoin.hash = require('hash.js');
bcoin.crypto = require('cry' + 'pto');
}

bcoin.ecdsa = bcoin.elliptic.ec('secp256k1');
Expand Down

0 comments on commit e5c05c3

Please sign in to comment.