The use of "!=" in if (saltToCloseTime[salt] != 0) would cause the function to revert.
salt stores this - _calculateSalt(organizer, contestId, implementation). Therefore, it would never be zero.
The condition check in the if statement that if (saltToCloseTime[salt] != 0), it should revert. And salt can't be zero based on what it stores. So, setContest would always revert.
It's impossible to use setContest function.
Manual review
Change if (saltToCloseTime[salt] != 0) to if (saltToCloseTime[salt] == 0)
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.