Skip to content

Commit

Permalink
fix: when calculating total assets, query unaccrued balanceOf if the …
Browse files Browse the repository at this point in the history
…pool is paused
  • Loading branch information
junkim012 committed May 12, 2024
1 parent c7bf309 commit 503ac41
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/vault/Vault.sol
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ contract Vault is ERC4626, Multicall, AccessControlDefaultAdminRules, Reentrancy
*/
function updateFeePercentage(uint256 _feePercentage) external onlyRole(OWNER_ROLE) {
if (_feePercentage > RAY) revert InvalidFeePercentage();
_accrueFee();
feePercentage = _feePercentage;
}

Expand Down

0 comments on commit 503ac41

Please sign in to comment.