account: fix nested derivation.
This commit is contained in:
parent
d7c1ee9dc2
commit
c338f8d0e6
@ -250,7 +250,7 @@ Account.prototype.open = function open() {
|
|||||||
this.change = this.deriveChange(this.changeDepth - 1);
|
this.change = this.deriveChange(this.changeDepth - 1);
|
||||||
|
|
||||||
if (this.witness)
|
if (this.witness)
|
||||||
this.nested = this.deriveReceive(this.nestedDepth - 1);
|
this.nested = this.deriveNested(this.nestedDepth - 1);
|
||||||
|
|
||||||
return Promise.resolve(null);
|
return Promise.resolve(null);
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user