Closed code423n4 closed 2 years ago
WatchPug
https://github.com/code-423n4/2021-09-wildcredit/blob/main/contracts/InterestRateModel.sol#L49-L53
function setLowRate(uint _value) external onlyOwner { require(_value < highRate, "InterestRateModel: _value < lowRate"); lowRate = _timeRateToBlockRate(_value); emit NewLowRate(_value); }
Should be "InterestRateModel: _value < highRate".
Duplicate #63
I disagree about the duplicate, this is about message. Non-critical.
duplicate of #59
Handle
WatchPug
Vulnerability details
https://github.com/code-423n4/2021-09-wildcredit/blob/main/contracts/InterestRateModel.sol#L49-L53
Should be "InterestRateModel: _value < highRate".