-
Notifications
You must be signed in to change notification settings - Fork 906
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
psbt: set the witness script to null, also
Otherwise libwally pushes the psbt-key for 'witness script' onto the serialized version and we fail the 'is this identical' check. Relevant line from libwally, where if bytes, we push a psbt_key. ``` static void push_typed_varbuff(unsigned char **cursor, size_t *max, uint64_t type, const unsigned char *bytes, size_t bytes_len) { if (bytes) { push_psbt_key(cursor, max, type, NULL, 0); push_varbuff(cursor, max, bytes, bytes_len); } } ``` Reported-By: @grubles Changelog-Fixed: openchannel_signed would fail on PSBT comparison of materially identical PSBTs
- Loading branch information
Showing
2 changed files
with
12 additions
and
1 deletion.
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