The contract contains an unpause function without a check to verify if the contract is already in an unpaused state. Multiple calls to the unpause function might occur without changing the contract state, leading to redundant transactions and potential gas wastage.
Similar to the pause function, the unpause function lacks a state check to confirm the current paused status before execution. Without this check, calling unpause when the contract is already in an unpaused state doesn't modify the state, resulting in multiple redundant function invocations.
This issue has a low impact. Redundant calls to the unpause function, when the contract is already unpaused, do not alter the contract state. However, these repeated invocations lead to unnecessary transaction execution and gas costs.
Manual inspection
Implement a state check within the unpause function to confirm if the contract is already unpaused before executing the unpausing action. This validation will prevent redundant function calls, saving gas and avoiding unnecessary transactions.
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.