There is a double check for the contract paused state.
In the updateUserBoost() function of the BoostController contract, there is a redundant check for the paused state using if (paused()) revert EmergencyPaused();. This check is unnecessary because the function is already decorated with the whenNotPaused modifier, which ensures that the function cannot be executed when the contract is paused.
Removing this redundant line will simplify the code and prevent any potential confusion about the contract's paused state handling.
Unnecessary gas spending.
Manual Review
Remove the redundant if (paused()) revert EmergencyPaused(); line from the updateUserBoost() function.
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.