If users transfer their lock to themselves, they can get two times the rewards
Users can transfer their lock to other accounts.
There is no check in this function to check that the _from
address and _to
address is the same. Users can input the same address so that the lock will be transferred to himself.
_updateRewards()
will be triggered twice, resulting in user getting two times the rewards
Users can game the system by getting two times the award
VsCode
Ensure that the _from
address is not the same as the _to
address.
from and to address same in transfer
from and to address same in transfer
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.