Sharp Mossy Cormorant - Typo in require() in setReserve() #79
Labels
Low/Info
A Low/Info severity issue.
Non-Reward
This issue will not receive a payout
Sponsor Confirmed
The sponsor acknowledged this issue is valid
Will Fix
The sponsor confirmed this issue will be fixed
Sharp Mossy Cormorant
Low/Info
Typo in require() in setReserve()
Summary
require(address(_reserve) != address(0), "Reserve address must be set");
at BancorExchangeProvider.sol#L168 should be:require(_reserve != address(0), "Reserve address must be set");
Mitigation
require(_reserve != address(0), "Reserve address must be set");
emit ReserveUpdated(_reserve);
The text was updated successfully, but these errors were encountered: