tlnworker: enable upfront shutdown script - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit f7e5c2d3b09f2d24b34ffe73c7289298f418f64e
DIR parent 6b90a2d36c52c577a786e8080e3c09531795b16d
HTML Author: bitromortac <bitromortac@protonmail.com>
Date: Fri, 18 Dec 2020 11:07:09 +0100
lnworker: enable upfront shutdown script
Diffstat:
M electrum/lnworker.py | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
DIR diff --git a/electrum/lnworker.py b/electrum/lnworker.py
t@@ -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