diff --git a/src/bip32.js b/src/bip32.js index 0b83ac9..e29e255 100644 --- a/src/bip32.js +++ b/src/bip32.js @@ -80,7 +80,7 @@ BIP32key.prototype.ckd = function(i) { blob = [0].concat(priv.slice(0,32),util.numToBytes(i,4).reverse()) } else blob = pub.concat(util.numToBytes(i,4).reverse()) - + I = Crypto.HMAC(Crypto.SHA512,blob,this.chaincode,{ asBytes: true }) if (this.type == 'priv') {