lnchannel: (trivial) fix type hint of receive_fail_reasons
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user