Skip to content

Commit ad346b2

Browse files
devrandomksedgwic
authored andcommitted
WORKAROUND: disable psbt_contribs_changed check because it deletes our signatures
1 parent c0ce96a commit ad346b2

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

lightningd/dual_open_control.c

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -938,13 +938,14 @@ openchannel2_signed_deserialize(struct openchannel2_psbt_payload *payload,
938938
* totally managled the data here but left the serial_ids intact,
939939
* you'll get a failure back from the peer when you send
940940
* commitment sigs */
941-
if (psbt_contribs_changed(payload->psbt, psbt))
942-
fatal("Plugin must not change psbt input/output set. "
943-
"orig: %s. updated: %s",
944-
type_to_string(tmpctx, struct wally_psbt,
945-
payload->psbt),
946-
type_to_string(tmpctx, struct wally_psbt,
947-
psbt));
941+
// FIXME this deletes the final_witness from the psbt
942+
// if (psbt_contribs_changed(payload->psbt, psbt))
943+
// fatal("Plugin must not change psbt input/output set. "
944+
// "orig: %s. updated: %s",
945+
// type_to_string(tmpctx, struct wally_psbt,
946+
// payload->psbt),
947+
// type_to_string(tmpctx, struct wally_psbt,
948+
// psbt));
948949

949950
if (payload->psbt)
950951
tal_free(payload->psbt);

0 commit comments

Comments
 (0)