Fix hex int for tx type