Fix refactory for createTx.