diff --git a/contracts/mainnet/connectors/compound/v3/helpers.sol b/contracts/mainnet/connectors/compound/v3/helpers.sol index a3c36a8f..82ecf7c0 100644 --- a/contracts/mainnet/connectors/compound/v3/helpers.sol +++ b/contracts/mainnet/connectors/compound/v3/helpers.sol @@ -194,7 +194,7 @@ abstract contract Helpers is DSMath, Basic { uint256 amt, bool isEth, Action action - ) internal returns (uint256) { + ) internal view returns (uint256) { if (amt == uint256(-1)) { uint256 allowance_ = TokenInterface(token).allowance(src, market); uint256 bal_;