URI: 
       tlnpeer, minor fixes: - pass orphaned_ids to lnworker.add_new_ids - fix enumeration of get_unacked_local_updates() - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 65cf0ebce804f16c007c8ea1b85821942e4f30a5
   DIR parent dd22cb6dfff67dee0d598decbb5bb5fe6824f98f
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Tue, 20 Aug 2019 13:24:38 +0200
       
       lnpeer, minor fixes:
        - pass orphaned_ids to lnworker.add_new_ids
        - fix enumeration of get_unacked_local_updates()
       
       Diffstat:
         M electrum/lnpeer.py                  |       7 +++++--
       
       1 file changed, 5 insertions(+), 2 deletions(-)
       ---
   DIR diff --git a/electrum/lnpeer.py b/electrum/lnpeer.py
       t@@ -272,7 +272,8 @@ class Peer(Logger):
                        orphaned = categorized_chan_upds.orphaned
                        if orphaned:
                            self.logger.info(f'adding {len(orphaned)} unknown channel ids')
       -                    await self.network.lngossip.add_new_ids(orphaned)
       +                    orphaned_ids = [c['short_channel_id'] for c in orphaned]
       +                    await self.network.lngossip.add_new_ids(orphaned_ids)
                            # Save (some bounded number of) orphan channel updates for later
                            # as it might be for our own direct channel with this peer
                            # (and we might not yet know the short channel id for that)
       t@@ -770,7 +771,9 @@ class Peer(Logger):
                # Multiple valid ctxs at the same ctn is a major headache for pre-signing spending txns,
                # e.g. for watchtowers, hence we must ensure these ctxs coincide.
                # We replay the local updates even if they were not yet committed.
       -        for ctn, messages in chan.hm.get_unacked_local_updates():
       +        unacked = chan.hm.get_unacked_local_updates()
       +        self.logger.info(f'replaying {len(unacked)} unacked messages')
       +        for ctn, messages in unacked.items():
                    for raw_upd_msg in messages:
                        self.transport.send_bytes(raw_upd_msg)