code-423n4 / 2021-04-vader-findings

1 stars 0 forks source link

Code different from comment #260

Closed code423n4 closed 3 years ago

code423n4 commented 3 years ago

Handle

s1m0

Vulnerability details

Impact

The formula doesn't coincide with the comment.

Proof of Concept

https://github.com/code-423n4/2021-04-vader/blob/main/vader-protocol/contracts/Utils.sol#L266

Tools Used

Manual analysis.

Recommended Mitigation Steps

Correct the code or the comment.

dmvt commented 3 years ago

duplicate of #214