From c338f8d0e6f76cf1f4879ce2e27eab9e316a6b61 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sun, 2 Oct 2016 21:33:54 -0700 Subject: [PATCH] account: fix nested derivation. --- lib/wallet/account.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wallet/account.js b/lib/wallet/account.js index 675acefa..688b12b5 100644 --- a/lib/wallet/account.js +++ b/lib/wallet/account.js @@ -250,7 +250,7 @@ Account.prototype.open = function open() { this.change = this.deriveChange(this.changeDepth - 1); if (this.witness) - this.nested = this.deriveReceive(this.nestedDepth - 1); + this.nested = this.deriveNested(this.nestedDepth - 1); return Promise.resolve(null); };