Browse Source
follow-up a612c2b0983ab4c6798156aebf1cd550fb3e0447
regtest_lnd
ThomasV
7 years ago
committed by
SomberNight
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
1 additions and
1 deletions
-
lib/lnworker.py
|
|
@ -102,7 +102,7 @@ class LNWorker(PrintError): |
|
|
|
self.nodes = {} # received node announcements |
|
|
|
self.channel_db = lnrouter.ChannelDB() |
|
|
|
self.path_finder = lnrouter.LNPathFinder(self.channel_db) |
|
|
|
self.channels = {x.channel_id: reconstruct_namedtuples(x) for x in wallet.storage.get("channels", {})} |
|
|
|
self.channels = {x['channel_id']: reconstruct_namedtuples(x) for x in wallet.storage.get("channels", [])} |
|
|
|
self.invoices = wallet.storage.get('lightning_invoices', {}) |
|
|
|
peer_list = network.config.get('lightning_peers', node_list) |
|
|
|
self.channel_state = {chan.channel_id: "OPENING" for chan in self.channels.values()} |
|
|
|