forked from ElementsProject/lightning
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dual-fund: update state before checking for 'doneness'
If we only add a single input/output for the funding transaction, we'll only call openchannel_update once, which results in a crash because the dest->state will never advance to MULTIFUNDCHANNEL_UPDATED; Instead, we update to UPDATED before we check for doneness.
- Loading branch information
1 parent
ade10e7
commit 9c8ce92
Showing
1 changed file
with
10 additions
and
7 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