ChristmasDinner contract has a limitation regarding token whitelisting. The current implementation does not allow the host to update or modify the whitelist of accepted tokens, which reduces the contract's flexibility and usability.Reduced Utility: The inability to support additional tokens limits the contract’s applicability for diverse payment scenarios.
onlyHost modifier to ensure only the host can execute it.
*/
```function updateWhitelist(address _token, bool _status) external onlyHost {whitelisted[_token] = _status;} `
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.