simplify tx.sign()