Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tbrent committed Jan 30, 2025
1 parent 5b37294 commit beea932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/Folio.sol
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ contract Folio is
// convert annual percentage to per-second
// = 1 - (1 - _newFeeAnnually) ^ (1 / 31536000)
// D18{1/s} = D18{1} - D18{1} ^ {s}
tvlFee = D18 - UD60x18.wrap(D18 - _newFeeAnnually).pow(ANNUALIZATION_EXP).unwrap();
tvlFee = D18 - UD60x18.wrap(D18 - _newFeeAnnually).pow(ANNUALIZER).unwrap();

require(_newFeeAnnually == 0 || tvlFee != 0, Folio__TVLFeeTooLow());

Expand Down

0 comments on commit beea932

Please sign in to comment.