--- Log opened Mon Apr 11 00:00:52 2022 05:12 < darosior> FromScript is not erroring on `232181000000008a0000adadadad000000000000acacacac2aacac21acacacacacacacacacacac000000fb00ed0000` 05:13 < darosior> "2181000000008a0000adadadad000000000000acacacac2aacac21acacacacacacacac OP_CHECKSIG OP_CHECKSIG OP_CHECKSIG 0 0 0 OP_UNKNOWN 0 OP_UNKNOWN 0 0" 05:20 <@sipa> what does it decode to? 05:21 <@sipa> oh, OP_UNKNOWN? err ... 05:21 < darosior> Nevermind, it's my adaptation of the old miniscript_decode target to your latest branch (using optional) 05:21 < darosior> I didn't check if CPubKey.IsValid() in the context before returning 05:21 < darosior> But still 05:21 < darosior> It was decoding to an empty pk() 05:54 < darosior> So, the above script was the input to the target. Not what was actually consumed by FromScript. It just consumed "81000000008a0000adadadad000000000000acacacac2aacac21acacacacacacac OP_CHECKSIG" which is an invalid key, so there is no issue apart from checking the validity of the key in the decoding context. 23:16 -!- Guest3 [~Guest3@103.151.209.229] has joined ##miniscript 23:27 -!- Guest3 [~Guest3@103.151.209.229] has quit [Quit: Client closed] --- Log closed Tue Apr 12 00:00:52 2022