Closed code423n4 closed 2 years ago
pauliax
Function mint will always fail as it calls mintTo and both functions are nonReentrant.
Remove nonReentrant modifier from the mint function as it will be applied in mintTo anyway.
https://github.com/code-423n4/2021-10-defiprotocol-findings/issues/59
Duplicate of #59
Handle
pauliax
Vulnerability details
Impact
Function mint will always fail as it calls mintTo and both functions are nonReentrant.
Recommended Mitigation Steps
Remove nonReentrant modifier from the mint function as it will be applied in mintTo anyway.