Unimplemented function computeAvailableDiscountFor #74
Labels
1 (Low Risk)
Assets are not at risk. State handling, function incorrect as to spec, issues with comments
bug
Something isn't working
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
Handle
harleythedog
Vulnerability details
Impact
The function computeAvailableDiscountFor is left unimplemented in Unlock.sol. Recommend implementing this function or removing it.
Proof of Concept
https://github.com/code-423n4/2021-11-unlock/blob/ec41eada1dd116bcccc5603ce342257584bec783/smart-contracts/contracts/Unlock.sol#L269
Tools Used
Inspection.
Recommended Mitigation Steps
Implement function or remove it to save gas.
The text was updated successfully, but these errors were encountered: