SIGN IN SIGN UP

Count miniscript wrappers in the parser's recursion depth limit

parse_script bounds the depth of the parsed policy with
MAX_PARSE_SCRIPT_RECURSION_DEPTH, but the miniscript wrappers were
not charged to that budget; this can cause stack exhaustion in other
functions that process the parsed AST recursively.
S
Salvatore Ingala committed
ed7cd0292a389dce73cefa15b56fe8f9b86c4fbf
Parent: 929c313