The state lottery says the winning tickets resulted from a vendor’s error, so millions of dollars will not be distributed to would-be winners.