anyway, do you have any suggestions about this OP_CSV problem? if the push does not matter in OP_CSV as you said it only saves a byte per input. I already have set the version to 2, then what else, did I miss something?
I just told you what was the problem.
the push does matter!
why don't you just try it?
change tx version to 2 and {0x01,0x0a} to 0x5a inside the spending script, and it will work.
trust me.
obviously, you won't be able to spend the existing output through the else condition.
because it contains "illegal" pushes.
you need to make another P2SH address, for the script with 5a (instead of 010a)