1
0

request_force_close: close and reopen existing peer connection,

because channel_reestablish cannot be sent twice in the same session
This commit is contained in:
ThomasV
2021-03-17 15:29:47 +01:00
parent 1c8c236933
commit e954bfaa54
3 changed files with 14 additions and 4 deletions

View File

@@ -542,6 +542,7 @@ class Channel(AbstractChannel):
self._can_send_ctx_updates = True # type: bool
self._receive_fail_reasons = {} # type: Dict[int, (bytes, OnionRoutingFailure)]
self._ignore_max_htlc_value = False # used in tests
self.should_request_force_close = False
def get_capacity(self):
return self.constraints.capacity