From 7a8959838ae4acf74d75f2f86415bb5ad4c955ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=9Fingen?= Date: Fri, 26 Apr 2024 08:31:43 +0100 Subject: [PATCH] fix: Remove duplicated access control --- contracts/src/ActivePool.sol | 2 -- 1 file changed, 2 deletions(-) diff --git a/contracts/src/ActivePool.sol b/contracts/src/ActivePool.sol index e9d8a76b..76e539fa 100644 --- a/contracts/src/ActivePool.sol +++ b/contracts/src/ActivePool.sol @@ -167,8 +167,6 @@ contract ActivePool is Ownable, CheckContract, IActivePool { } function accountForReceivedETH(uint256 _amount) public { - _requireCallerIsBorrowerOperationsOrDefaultPool(); - uint256 newETHBalance = ETHBalance + _amount; ETHBalance = newETHBalance;