mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 14:42:40 +01:00
df: patch hole where we wouldn't notify peer of failure
This commit is contained in:
parent
367e377d5a
commit
84ed942dee
1 changed files with 3 additions and 0 deletions
|
@ -525,6 +525,9 @@ openchannel2_hook_deserialize(struct openchannel2_payload *payload,
|
|||
if (!payload->psbt &&
|
||||
!amount_sat_eq(payload->accepter_funding, AMOUNT_SAT(0))) {
|
||||
/* Gotta give a PSBT if you set the accepter_funding amount */
|
||||
/* Let dualopend know we've failed */
|
||||
payload->err_msg = "Client error. Unable to continue";
|
||||
openchannel2_hook_cb(payload);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue