Transit visa is not required as long as you stay within the custom or transit area at Vietnam airport. However, If you want to get out the airport to have a short city tour in Hanoi, you can ask the airline to arrange a transit visa for you as your transit time is quite long (10 hours) and it takes just 45 minutes to get to Hanoi city center from the airport.