Closed code423n4 closed 2 years ago
pauliax
The condition should be _locked.amount > 0:
require(_locked.amount >= 0, "Nothing to withdraw");
safe32 should be n <= 2 ** 32:
require(n < 2 ** 32, errorMessage);
Duplicate to #132
Handle
pauliax
Vulnerability details
Impact
The condition should be _locked.amount > 0:
safe32 should be n <= 2 ** 32: