HDWallet: adds missing hd declaration
Only a problem if "use strict" is enforced
This commit is contained in:
parent
6a73bc02f5
commit
9f798ef2c3
@ -243,6 +243,7 @@ HDNode.prototype.derive = function(index) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Private parent key -> private child key
|
// Private parent key -> private child key
|
||||||
|
var hd
|
||||||
if (this.privKey) {
|
if (this.privKey) {
|
||||||
// ki = parse256(IL) + kpar (mod n)
|
// ki = parse256(IL) + kpar (mod n)
|
||||||
var ki = pIL.add(this.privKey.D).mod(ecparams.getN())
|
var ki = pIL.add(this.privKey.D).mod(ecparams.getN())
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user