Fix bad references to Bitcoin.Crypto
This commit is contained in:
parent
d39567c589
commit
26ac76d42c
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ BIP32key.prototype.privtopub = BIP32key.prototype.getPub = function() {
|
||||||
}
|
}
|
||||||
|
|
||||||
BIP32key.fromMasterKey = function(seed) {
|
BIP32key.fromMasterKey = function(seed) {
|
||||||
var I = Bitcoin.Crypto.HMAC(Bitcoin.Crypto.SHA512,seed, 'Bitcoin seed' , { asBytes: true })
|
var I = Crypto.HMAC(Crypto.SHA512,seed, 'Bitcoin seed' , { asBytes: true })
|
||||||
return new BIP32key({
|
return new BIP32key({
|
||||||
vbytes: conv.stringToBytes(PRIVDERIV),
|
vbytes: conv.stringToBytes(PRIVDERIV),
|
||||||
type: 'priv',
|
type: 'priv',
|
||||||
|
|
Loading…
Add table
Reference in a new issue