1
0

kivy: port lightning ui to lnbase

This commit is contained in:
Janus
2018-05-23 19:08:46 +02:00
committed by ThomasV
parent 18963405ee
commit 10e8a90224
4 changed files with 35 additions and 40 deletions

View File

@@ -2100,6 +2100,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger):
'util': util,
'bitcoin': bitcoin,
})
if self.config.get('lnbase', False): console.updateNamespace({'lightning' : self.wallet.lnworker.console_interface})
c = commands.Commands(self.config, self.wallet, self.network, lambda: self.console.set_json(True))
methods = {}