From 16c8cb50e38c274cce8f9f66f28d8dd453f9f074 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Sat, 18 Apr 2026 17:16:57 +0000 Subject: [PATCH] lnchannel: (trivial) fix type hint of receive_fail_reasons --- electrum/lnchannel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/lnchannel.py b/electrum/lnchannel.py index bf9b80717..3dd96ff43 100644 --- a/electrum/lnchannel.py +++ b/electrum/lnchannel.py @@ -801,7 +801,7 @@ class Channel(AbstractChannel): self._outgoing_channel_update = None # type: Optional[bytes] self.revocation_store = RevocationStore(state["revocation_store"]) self._can_send_ctx_updates = True # type: bool - self._receive_fail_reasons = {} # type: Dict[int, (bytes, OnionRoutingFailure)] + self._receive_fail_reasons = {} # type: Dict[int, tuple[bytes | None, OnionRoutingFailure | None]] self.unconfirmed_closing_txid = None # not a state, only for GUI self.sent_channel_ready = False # no need to persist this, because channel_ready is re-sent in channel_reestablish self.sent_announcement_signatures = False