diff --git a/class/wallets/abstract-hd-electrum-wallet.ts b/class/wallets/abstract-hd-electrum-wallet.ts index 62bbb8f21..09aba5499 100644 --- a/class/wallets/abstract-hd-electrum-wallet.ts +++ b/class/wallets/abstract-hd-electrum-wallet.ts @@ -55,7 +55,7 @@ export class AbstractHDElectrumWallet extends AbstractHDWallet { next_free_payment_code_address_index: Record; _txs_by_payment_code_index: Record; _balances_by_payment_code_index: Record; - bip47_instance?: BIP47Interface; + _bip47_instance?: BIP47Interface; constructor() { super(); @@ -1470,8 +1470,8 @@ export class AbstractHDElectrumWallet extends AbstractHDWallet { } getBIP47FromSeed(): BIP47Interface { - if (!this.bip47_instance) this.bip47_instance = bip47.fromBip39Seed(this.secret, undefined, this.passphrase); - return this.bip47_instance; + if (!this._bip47_instance) this._bip47_instance = bip47.fromBip39Seed(this.secret, undefined, this.passphrase); + return this._bip47_instance; } setBIP47PaymentCode(): void {