account: fix nested derivation.

This commit is contained in:
Christopher Jeffrey 2016-10-02 21:33:54 -07:00
parent d7c1ee9dc2
commit c338f8d0e6
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -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);
};