During a manual review of the TempleGoldStaking
contract, two unused variables were identified.
The following variables are declared but not used within the TempleGoldStaking
contract:
uint256 public override periodFinish
uint256 public override lastUpdateTime
These variables are intended for time tracking and rewards update purposes but do not serve any functional role in the current implementation.
Unused variables can increase code complexity and may mislead developers or auditors regarding the actual functionality of the contract. Removing them can help maintain clarity and reduce potential confusion.
Manual Review
Remove the following unused variables from the TempleGoldStaking
contract:
uint256 public override periodFinish
uint256 public override lastUpdateTime
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.