forked from ElementsProject/lightning
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- result 'fundchannel' command now depends on successful or failed broadcast of the funding tx - failure returns error code FUNDING_BROADCAST_FAIL - failure still fails the channel into -> AWAITING_UNILATERAL This gives the user a more explicit warning of broadcast failure, so it (hopefully) doesn't try to broadcast new tx's that depend on its change_outputs, see issue ElementsProject#2171 openingd/opening_funder_finished: broadcast_tx callback function now handles both success and failure pytest: mock_sendrawtransaction now returns error _number_, the jsonrpc's command_fail needs a _number_ instead of 'error' jsonrpc: added error code FUNDING_BROADCAST_FAIL improved some comments
- Loading branch information
1 parent
82ff580
commit c1cb655
Showing
5 changed files
with
63 additions
and
26 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
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
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