code-423n4 / 2022-06-badger-findings

0 stars 0 forks source link

QA Report #117

Closed code423n4 closed 2 years ago

code423n4 commented 2 years ago

Unused named return value in checkUpkeep()

function checkUpkeep(bytes calldata checkData) external view returns (bool upkeepNeeded, bytes memory performData) {
        (, uint256 unlockable, ,) = LOCKER.lockedBalances(address(this));
        upkeepNeeded = unlockable > 0;
    }
GalloDaSballo commented 2 years ago

It is unused but needed by Chainlink's interface