add back SIGHASH code to transaction