From 0310a890ba084008fc51172c5c4ecc7c454b43d7 Mon Sep 17 00:00:00 2001 From: xnova Date: Thu, 27 Feb 2014 03:48:20 -0500 Subject: [PATCH] didn't mean to remove getPub() --- src/hdwallet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hdwallet.js b/src/hdwallet.js index d379436..f40582f 100644 --- a/src/hdwallet.js +++ b/src/hdwallet.js @@ -218,7 +218,7 @@ HDWallet.prototype.derive = function(i) { hd.pub = hd.priv.getPub() } else { // 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.