didn't mean to remove getPub()

This commit is contained in:
xnova 2014-02-27 03:48:20 -05:00
parent d447e69279
commit 0310a890ba

View file

@ -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.