lnchannel: (trivial) fix type hint of receive_fail_reasons

This commit is contained in:
SomberNight
2026-04-18 17:16:57 +00:00
parent 3fbf597485
commit 16c8cb50e3
+1 -1
View File
@@ -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