Skip to content

Commit

Permalink
Tiny bug fix on fallback to old compSpeed parsing and added latest ma…
Browse files Browse the repository at this point in the history
…innet deploy.
  • Loading branch information
torreyatcitty committed Oct 19, 2021
1 parent 08f7ba6 commit b764332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/Lens/CompoundLens.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit b764332

Please sign in to comment.