mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-29 16:31:29 +00:00
require option static_remotekey in lnwallet
This commit is contained in:
parent
bda23ef73d
commit
fa62d03c2a
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue