Submitted by cmichel
The ThreePieceWiseLinearPriceCurve.getFee comment states that the total + the input must be less than the cap:
The code only checks if the input is less than the cap:
Clarify the desired behavior and reconcile the code with the comments.
kingyetifinance (Yeti finance) confirmed and disagreed with severity:
0xtruco (Yeti finance) commented:
