-
Notifications
You must be signed in to change notification settings - Fork 378
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
option_without_length
case to TLV macros
This allows us to handle `WithoutLength` fields to prevent the duplicate encoding of lengths in TLVs for some types that already encode length, such as `Script` in this case. This is needed so that we can move `shutdown_scriptpubkey` into the TLV stream of `OpenChannel` and `AcceptChannel`.
- Loading branch information
Showing
2 changed files
with
35 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