Closed darosior closed 2 years ago
I wanted to be more helpful if it's an issue with validty and output the first insane sub with no child, but we also accept invalid miniscripts there. So, at least just check for validity.
I did not test this code.
utACK 1f6c596fe8e7631bf955e34dce2211324c3084a2
See https://github.com/sipa/miniscript/pull/122 to make it actually compile again...
I wanted to be more helpful if it's an issue with validty and output the first insane sub with no child, but we also accept invalid miniscripts there. So, at least just check for validity.
I did not test this code.