This modifier helps ensure that a function cannot be re-entered while it is still executing.
In the nonReentrant modifier's code is if statement which check value stored in transient storage at location 1.
it is wrong assumption because this slot is never filed in the code. In addition only first slot is tstore(0, 1) using.
The function not working properly, and not protect aginst reetrant atacks. And what more, tstore(0, 1) overwrite value stored at slot 1 in transient storage.
manual review
Please use the reetrant function from openzepllin insted of custom solution.
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.