nonReentrant modifier lacks an important assignment.
With the current implementation the variable lockedstays always false and thus it will pass the require check leading to reentrancy.
Impact
All funcitons that has nonReentrant modifier will be vulnerable to reentrancy attacks
The modifier should set locked to true before the _ keyword.
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.