1
0

qml: add lightning node id to walletdetails

This commit is contained in:
Sander van Grieken
2022-11-18 23:08:22 +01:00
parent 98e395e78e
commit 1731c36234
2 changed files with 40 additions and 0 deletions

View File

@@ -349,6 +349,10 @@ class QEWallet(AuthMixin, QObject, QtEventListener):
})
return result
@pyqtProperty(str, notify=dataChanged)
def lightningNodePubkey(self):
return self.wallet.lnworker.node_keypair.pubkey.hex() if self.wallet.lnworker else ''
@pyqtProperty(str, notify=dataChanged)
def derivationPrefix(self):
keystores = self.wallet.get_keystores()