trequire data loss protect - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit b4932198298a10125a082b7beb1a1b525370095c DIR parent 9f8e2c689e0cc5b5144eda383d0c33dd2f85e1f1 HTML Author: ThomasV <thomasv@electrum.org> Date: Mon, 12 Aug 2019 18:05:12 +0200 require data loss protect Diffstat: M electrum/lnworker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/electrum/lnworker.py b/electrum/lnworker.py t@@ -302,7 +302,7 @@ class LNWallet(LNWorker): self.storage.put('lightning_privkey2', xprv) LNWorker.__init__(self, xprv) self.ln_keystore = keystore.from_xprv(xprv) - #self.localfeatures |= LnLocalFeatures.OPTION_DATA_LOSS_PROTECT_REQ + self.localfeatures |= LnLocalFeatures.OPTION_DATA_LOSS_PROTECT_REQ self.invoices = self.storage.get('lightning_invoices', {}) # RHASH -> (invoice, direction, is_paid) self.preimages = self.storage.get('lightning_preimages', {}) # RHASH -> preimage self.sweep_address = wallet.get_receiving_address()