Lack of check might lead to gas burn
eztierney opened this issue · comments
Erik Tierney commented
The incrementMinterAllowance function can be called with a parameter value of allowanceIncrement = 0. This would lead to gas expenditure with no state changes or useful computation.
Consider checking that allowanceIncrement > 0 to avoid unnecessary gas costs.