Closed code423n4 closed 2 years ago
0v3rf10w
Here _locked.amount being uint256 will always satisfy this require() condition
XOLE.withdraw() (contracts/XOLE.sol#325-339) : - require(bool,string)(_locked.amount >= 0,Nothing to withdraw) (contracts/XOLE.sol#327)
remove it or change as needs
Duplicate to #132
Marking as gas.
gas
Handle
0v3rf10w
Vulnerability details
Impact
Here _locked.amount being uint256 will always satisfy this require() condition
Proof of Concept
Recommended Mitigation Steps
remove it or change as needs