-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fundingManager: channel barrier on startup if fundingLocked not received
This commit adds a channel barrier on fundingManager startup for channels that we still haven't received fundingLocked for. This fixes a bug where we after restarting the fundingManager would receive the fundingLocked message, and crash when trying to close the non-existing barrier. The fundingmanager tests are also updated to check that the fundingLocked messages are sent and handled correcly, and also exercise the scanario described above.
- Loading branch information
Showing
2 changed files
with
199 additions
and
46 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
Oops, something went wrong.