electrum

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

commit f7e5c2d3b09f2d24b34ffe73c7289298f418f64e
parent 6b90a2d36c52c577a786e8080e3c09531795b16d
Author: bitromortac <bitromortac@protonmail.com>
Date:   Fri, 18 Dec 2020 11:07:09 +0100

lnworker: enable upfront shutdown script

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

diff --git a/electrum/lnworker.py b/electrum/lnworker.py @@ -556,6 +556,7 @@ class LNWallet(LNWorker): self.features |= LnFeatures.OPTION_STATIC_REMOTEKEY_REQ # we do not want to receive unrequested gossip (see lnpeer.maybe_save_remote_update) self.features |= LnFeatures.GOSSIP_QUERIES_REQ + self.features |= LnFeatures.OPTION_UPFRONT_SHUTDOWN_SCRIPT_OPT self.payments = self.db.get_dict('lightning_payments') # RHASH -> amount, direction, is_paid # FIXME amt should be msat self.preimages = self.db.get_dict('lightning_preimages') # RHASH -> preimage