mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 16:01:30 +00:00
lightning: add missing import, set console to none initially
This commit is contained in:
parent
76bd120bdf
commit
13527987bc
2 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
from kivy.lang import Builder
|
from kivy.lang import Builder
|
||||||
from kivy.factory import Factory
|
from kivy.factory import Factory
|
||||||
from electrum_gui.kivy.i18n import _
|
from electrum_gui.kivy.i18n import _
|
||||||
|
import electrum.lightning as lightning
|
||||||
|
|
||||||
Builder.load_string('''
|
Builder.load_string('''
|
||||||
<LightningPayerDialog@Popup>
|
<LightningPayerDialog@Popup>
|
||||||
|
|
|
@ -601,6 +601,7 @@ class LightningRPC:
|
||||||
super(LightningRPC, self).__init__()
|
super(LightningRPC, self).__init__()
|
||||||
self.queue = queue.Queue()
|
self.queue = queue.Queue()
|
||||||
self.subscribers = []
|
self.subscribers = []
|
||||||
|
self.console = None
|
||||||
# overridden
|
# overridden
|
||||||
async def run(self, netAndWalLock):
|
async def run(self, netAndWalLock):
|
||||||
while asyncio.get_event_loop().is_running():
|
while asyncio.get_event_loop().is_running():
|
||||||
|
|
Loading…
Add table
Reference in a new issue