Skip to content

Commit

Permalink
chore: debt changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Schlagonia committed Oct 15, 2024
1 parent 7623790 commit ff5f704
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/AprOracle/AprOracle.sol
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,7 @@ contract AprOracle is Governance {
uint256 performanceFee = abi.decode(fee, (uint256));

// Get the effective debt change for the strategy.
int256 debtChange = (_delta * int256(debt)) /
int256(totalAssets);
int256 debtChange = (_delta * int256(debt)) / int256(totalAssets);

// Add the weighted apr of the strategy to the total apr.
totalApr +=
Expand Down

0 comments on commit ff5f704

Please sign in to comment.