In TempleGoldStaking
, there's no access control on the function getReward
, anyone can call getReward
on behalf of others even if the staker
is not will to do so.
In TempleGoldStaking
, there's no access control on the function getReward
.
As a result, anyone can call getReward
on behalf of others even if the staker
is not will to do so.
This may violate the staker
's own intention and thus cause bad user experience.
Manual
Add a check require(staker==msg.sender);
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.