-
Notifications
You must be signed in to change notification settings - Fork 267
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If we get disconnected after sending `commit_sig`, we will retransmit that message when reconnecting if our peer has not received it. When we have multiple commitments, we need to retransmit one message per commitment, and include the `batch_size` tlv. We incorrectly stored `commit_sig` without the `batch_size` tlv in the next remote commit field, and thus retransmitted without that tlv.
- Loading branch information
Showing
2 changed files
with
47 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters