Second draft of SignTx (fails with script signature problem)