|
|
@ -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() |
|
|
|