> One and zero should be defined as arrays of length one. Otherwise, it is 
> still possible to mutate the transaction by changing the length of the array. 
> 
> They should also be minimally encoded but that is covered by previous rules.

These two lines contradict each other. Minimally-encoded "zero" is an array of 
length zero, not one. I'd suggest defining this explicitly here as "IF/NOTIF 
argument must be either zero-length array or a single byte 0x01".


_______________________________________________
bitcoin-dev mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev

Reply via email to