You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
0 commit comments