What was the dirt that Lepke Buchalter offered to Thomas Dewey so that Lepke might escape the chair?

Was it that Hoover and his #2 guy, in the FBI, Clyde Tolson, were lovers?
Was it that Hoover and Tolson were up to their necks in gambling debts owed to the mob?

Was it a combination of these tidbits?