Skip to content

Commit

Permalink
fix: Remove duplicated access control
Browse files Browse the repository at this point in the history
  • Loading branch information
bingen committed Apr 26, 2024
1 parent 3080262 commit 7a89598
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions contracts/src/ActivePool.sol
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,6 @@ contract ActivePool is Ownable, CheckContract, IActivePool {
}

function accountForReceivedETH(uint256 _amount) public {
_requireCallerIsBorrowerOperationsOrDefaultPool();

uint256 newETHBalance = ETHBalance + _amount;
ETHBalance = newETHBalance;

Expand Down

0 comments on commit 7a89598

Please sign in to comment.