From b7643324c1a71bab1f06dfca712fb938d8fb8000 Mon Sep 17 00:00:00 2001 From: Torrey Atcitty Date: Wed, 29 Sep 2021 15:03:48 -0700 Subject: [PATCH] Tiny bug fix on fallback to old compSpeed parsing and added latest mainnet deploy. --- contracts/Lens/CompoundLens.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(