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