Instead of adding a new require(_admin != address(0) (and copying the comment to describe why) I used existing verifyAdminAddress() to reduce redundancy but the existing method name and require error message might not be appropriate. Also, the fact that newAdmin != admin will hit first rather than zero address check.
Fix #844
Note: -
Instead of adding a new
require(_admin != address(0)
(and copying the comment to describe why) I used existingverifyAdminAddress()
to reduce redundancy but the existing method name and require error message might not be appropriate. Also, the fact thatnewAdmin != admin
will hit first rather than zero address check.