URI: 
       tlnpeer: only process INIT if we are a backup. fixes #6241 - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 0b16f8ec3a6297f83548acc773ca810cc289dcf2
   DIR parent 436ca11021dae1b9aab2f9451dad5b0ae8fd1b7d
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Tue, 23 Jun 2020 13:12:11 +0200
       
       lnpeer: only process INIT if we are a backup. fixes #6241
       
       Diffstat:
         M electrum/lnpeer.py                  |       4 ++++
       
       1 file changed, 4 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/electrum/lnpeer.py b/electrum/lnpeer.py
       t@@ -167,6 +167,10 @@ class Peer(Logger):
        
            def process_message(self, message):
                message_type, payload = decode_msg(message)
       +        # only process INIT if we are a backup
       +        from .lnworker import LNBackups
       +        if isinstance(self.lnworker, LNBackups) and message_type != 'init':
       +            return
                if message_type in self.ordered_messages:
                    chan_id = payload.get('channel_id') or payload["temporary_channel_id"]
                    self.ordered_message_queues[chan_id].put_nowait((message_type, payload))