Open code423n4 opened 3 years ago
paulius.eth
contract AaveMarket function setRewards has a misleading revert message: require(newValue.isContract(), "HarvestMarket: not contract");
Should be 'AaveMarket', not 'HarvestMarket'.
Fixed in https://github.com/88mphapp/88mph-contracts/commit/f4b58f8af4366507f14d781c4af95dbab970fb50
Handle
paulius.eth
Vulnerability details
Impact
contract AaveMarket function setRewards has a misleading revert message: require(newValue.isContract(), "HarvestMarket: not contract");
Recommended Mitigation Steps
Should be 'AaveMarket', not 'HarvestMarket'.