In many pubs, bars and clubs peanuts are provided as a convenience.
The saying goes that throughout the night, grubby dudes who don't wash their hands after going to the bathroom come out and taint the peanuts. By the end of the night the peanuts are supposedly infected with several sources of urine.
On 13 July 2005, while a guest on The Tonight Show With Jay Leno, Johnny Depp stated that a study done on bar peanuts revealed the presence of 27 different types of urine.
(Snopes article does not address peanuts, only mints, and peanuts are still available in many Australian bars and clubs I have been to)