From b2a3e08ac8467a62b79023ba27343cef0cc19d89 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Mon, 9 Feb 2026 10:58:19 +0100 Subject: [PATCH] ignore exceptions in process_gossip A failing signature verification should not kill the taskgroup --- electrum/lnworker.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/electrum/lnworker.py b/electrum/lnworker.py index c8846595d..813fc0510 100644 --- a/electrum/lnworker.py +++ b/electrum/lnworker.py @@ -783,6 +783,8 @@ class LNGossip(Logger): progress_percent = 0 return current_est, total_est, progress_percent + @ignore_exceptions + @log_exceptions async def process_gossip(self, chan_anns, node_anns, chan_upds): # note: we run in the originating peer's TaskGroup, so we can safely raise here # and disconnect only from that peer