Buying a lottery ticket was anything but a wash for Scott Moe, who won $8.4 million in the Megabucks Jackpot on Friday, according to a news release from the Oregon Lottery.

Moe, a Portland resident, had bought several tickets from the Buy2 store on Southwest Oleson Road. Then he did his laundry but forgot to take his wallet — which contained the tickets — out. He only realized the mistake after the laundry was done and he discovered some of the tickets had been destroyed.

But fortunately, the winning ticket was not one of them. Before going to sleep, Moe pieced his tickets together and, using a ticket-scanning app, realized that he had won the $8.4 million jackpot. The ticket was the last one he had bought, and the other tickets in his wallet had protected it.

“I didn’t sleep until later the next day,” Moe said. “My mind was racing.”

Moe decided to take a lump-sum payment of his winnings, which splits the prize in half. After taxes, he took home $2.85 million.

Officials with Buy2 said this was the first time one of their stores had sold a jackpot ticket.

—Jayati Ramakrishnan; 503-221-4320; jramakrishnan@oregonian.com; @JRamakrishnanOR

Subscribe to Oregonian/OregonLive newsletters and podcasts for the latest news and top stories.