What kind of star is most likely to become a white-dwarf supernova?