A friend also sent me this snippet and while I will check it out, I'm not sure if it shows the sighash before creating the signature, which would be invaluable in finding exactly what is wrong with my version.
reply