electrum

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

commit fa62d03c2a911bbe2fcf923bda997568fe90d52d
parent bda23ef73de2d24aef9521a1d8c5c161e3bf5053
Author: ThomasV <thomasv@electrum.org>
Date:   Sat, 22 Feb 2020 09:03:52 +0100

require option static_remotekey in lnwallet

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

diff --git a/electrum/lnworker.py b/electrum/lnworker.py @@ -362,6 +362,7 @@ class LNWallet(LNWorker): self.config = wallet.config LNWorker.__init__(self, xprv) self.localfeatures |= LnLocalFeatures.OPTION_DATA_LOSS_PROTECT_REQ + self.localfeatures |= LnLocalFeatures.OPTION_STATIC_REMOTEKEY_REQ self.payments = self.db.get_dict('lightning_payments') # RHASH -> amount, direction, is_paid self.preimages = self.db.get_dict('lightning_preimages') # RHASH -> preimage self.sweep_address = wallet.get_receiving_address()