electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit b4932198298a10125a082b7beb1a1b525370095c
parent 9f8e2c689e0cc5b5144eda383d0c33dd2f85e1f1
Author: ThomasV <thomasv@electrum.org>
Date:   Mon, 12 Aug 2019 18:05:12 +0200

require data loss protect

Diffstat:
Melectrum/lnworker.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/electrum/lnworker.py b/electrum/lnworker.py @@ -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()