Browse Source

didn't mean to remove getPub()

hk-custom-address
xnova 11 years ago
parent
commit
0310a890ba
  1. 2
      src/hdwallet.js

2
src/hdwallet.js

@ -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…
Cancel
Save