electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 6263b472d9cac23b1b25782c3a2ddfc99e87e955
parent 497706afbf55f9759d589566769e24f653bbfd87
Author: ThomasV <thomasv@electrum.org>
Date:   Fri,  1 Jun 2018 10:01:16 +0200

follow-up a612c2b0983ab4c6798156aebf1cd550fb3e0447

Diffstat:
Mlib/lnworker.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/lnworker.py b/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()}