didn't mean to remove getPub()
This commit is contained in:
parent
d447e69279
commit
0310a890ba
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ HDWallet.prototype.derive = function(i) {
|
||||||
hd.pub = hd.priv.getPub()
|
hd.pub = hd.priv.getPub()
|
||||||
} else {
|
} else {
|
||||||
// Ki = (IL + kpar)*G = IL*G + Kpar
|
// Ki = (IL + kpar)*G = IL*G + Kpar
|
||||||
hd.pub = this.pub.add(new ECKey(IL.concat([1]), true, this.keyVersion))
|
hd.pub = this.pub.add(new ECKey(IL.concat([1]), true, this.keyVersion).getPub())
|
||||||
}
|
}
|
||||||
|
|
||||||
// ci = IR.
|
// ci = IR.
|
||||||
|
|
Loading…
Reference in a new issue