diff --git a/contracts/Lens/CompoundLens.sol b/contracts/Lens/CompoundLens.sol index fe7f11bae..c95d9f038 100644 --- a/contracts/Lens/CompoundLens.sol +++ b/contracts/Lens/CompoundLens.sol @@ -92,7 +92,7 @@ contract CompoundLens { compBorrowSpeed = abi.decode(compBorrowSpeedReturnData, (uint)); } - if (!compSupplySpeedSuccess || compBorrowSpeedSuccess) { + if (!compSupplySpeedSuccess || !compBorrowSpeedSuccess) { (bool compSpeedSuccess, bytes memory compSpeedReturnData) = address(comptroller).call( abi.encodePacked(