diff --git a/lib/wallet/account.js b/lib/wallet/account.js index 2240bfea7..5e9f8e995 100644 --- a/lib/wallet/account.js +++ b/lib/wallet/account.js @@ -344,7 +344,7 @@ class Account extends bio.Struct { break; case 1: key = this.deriveChange(this.changeDepth); - lookahead = this.deriveReceive(this.changeDepth + this.lookahead); + lookahead = this.deriveChange(this.changeDepth + this.lookahead); await this.saveKey(b, lookahead); this.changeDepth += 1; this.change = key;