Fix endian order for txin hash