1
0

qml: always pass wallet password to init_lightning.

emit also dataChanged so UI updates node pubkey
This commit is contained in:
Sander van Grieken
2023-04-14 12:21:38 +02:00
parent 5d4e6b1cd7
commit 21d1a6239f
3 changed files with 2 additions and 3 deletions

View File

@@ -473,8 +473,9 @@ class QEWallet(AuthMixin, QObject, QtEventListener):
@pyqtSlot()
def enableLightning(self):
self.wallet.init_lightning(password=None) # TODO pass password if needed
self.wallet.init_lightning(password=self.password)
self.isLightningChanged.emit()
self.dataChanged.emit()
@pyqtSlot(str, int, int, bool)
def send_onchain(self, address, amount, fee=None, rbf=False):