diff --git a/index.js b/index.js index 872e614..a91e0bd 100644 --- a/index.js +++ b/index.js @@ -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') diff --git a/package.json b/package.json index 8616ae5..aff7962 100644 --- a/package.json +++ b/package.json @@ -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"