-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #758: fix: differentiate max witness script size upon context
13a1318 fix: differentiate max witness script size upon context (ChrisCho-H) Pull request description: `MaxWitnessScriptSizeExceeded` is used in the context of `SegwitV0` and `Tap`, where each of max witness script size differs. Moreover, even in the same context of `SegwitV0`, max witness script size differ whether it's standard or consensus rule. I just let `MaxWitnessScriptSizeExceeded` receive param `usize` to differentiate max witness script size upon context, which can fix the wrong err message of `"The Miniscript corresponding Script would be larger than MAX_STANDARD_P2WSH_SCRIPT_SIZE bytes."` when `SegwitV0` consensus and `Tap` context ACKs for top commit: apoelstra: ACK 13a1318; successfully ran local tests Tree-SHA512: 213d62443fa8b4d912495e1d60aa1e64165287348b145eb1c93f2e623589c49b0e37636f92d9185af4c3467006d0c0d5f6bf8d986ab1ff332dc5510900e0f1eb
- Loading branch information
Showing
2 changed files
with
21 additions
and
10 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