Skip to content

Commit

Permalink
Use buffer-xor instead of bitwise-xor for better speed
Browse files Browse the repository at this point in the history
  • Loading branch information
axic committed Jan 5, 2016
1 parent e88a04d commit e00e664
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require('es6-shim')
const ethUtil = require('ethereumjs-util')
const ethHashUtil = require('./util.js')
const xor = require('bitwise-xor')
const xor = require('buffer-xor')
const BN = ethUtil.BN
const rlp = ethUtil.rlp
const async = require('async')
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"homepage": "https://github.com/ethereumjs/ethashjs#readme",
"dependencies": {
"async": "^1.4.2",
"bitwise-xor": "^0.0.0",
"buffer-xor": "^1.0.3",
"es6-shim": "^0.33.13",
"ethereumjs-util": "^2.3.1",
"miller-rabin": "^4.0.0"
Expand Down

0 comments on commit e00e664

Please sign in to comment.