URI: 
       tadd pong handler to reduce verbosity - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit a54631b8738e383f8b5649e8044da66e04afc82e
   DIR parent a04e37d05019ecf77fabcd31d344efad60ef64b5
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Tue, 25 Sep 2018 11:57:37 +0200
       
       add pong handler to reduce verbosity
       
       Diffstat:
         M electrum/lnbase.py                  |       4 +++-
       
       1 file changed, 3 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/electrum/lnbase.py b/electrum/lnbase.py
       t@@ -396,7 +396,6 @@ class Peer(PrintError):
        
            def process_message(self, message):
                message_type, payload = decode_msg(message)
       -        #self.print_error("Received '%s'" % message_type.upper())
                try:
                    f = getattr(self, 'on_' + message_type)
                except AttributeError:
       t@@ -414,6 +413,9 @@ class Peer(PrintError):
                l = int.from_bytes(payload['num_pong_bytes'], 'big')
                self.send_message(gen_msg('pong', byteslen=l))
        
       +    def on_pong(self, payload):
       +        pass
       +
            def on_accept_channel(self, payload):
                temp_chan_id = payload["temporary_channel_id"]
                if temp_chan_id not in self.channel_accepted: raise Exception("Got unknown accept_channel")