From 9b58f5ba0ce283200d3a4bfd547de114b2080500 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Wed, 27 Apr 2022 10:06:05 +0200 Subject: [PATCH] fix #7783 --- electrum/lnpeer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/electrum/lnpeer.py b/electrum/lnpeer.py index ae0e56645..48b62e61a 100644 --- a/electrum/lnpeer.py +++ b/electrum/lnpeer.py @@ -208,7 +208,8 @@ class Peer(Logger): if message_type not in ('error', 'warning') and 'channel_id' in payload: chan = self.get_channel_by_id(payload['channel_id']) if chan is None: - raise Exception('Got unknown '+ message_type) + self.logger.info(f"Received {message_type} for unknown channel {payload['channel_id'].hex()}") + return args = (chan, payload) else: args = (payload,)