From documentation, function voteDirection()will use voting power of user to vote:
But in veRAACToken, voting power will be reduced to 0 when the time passed to unlock time. When the lock is expired, voting power will become 0, but their veRAACToken will keep the same, which make them still have same power when the lock is expired. In the veRAACToken, function getVotingPower()should be used because it return current power of user:
User still have voting power even when the lock is expired
Using getVotingPower()function instead of balance of caller.
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.