You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.
in acceptOwnership() there's require(_newOwner != address(0), "owner cannot be set to 0x0000000000000000000000000000000000000000");. Shouldn't this line also exist in transferOwnership() for address _account?
The text was updated successfully, but these errors were encountered:
It's unnecessary since by default the zero-value of an adress is 0x0... so if you set it to 0x0... you're not really doing anything. The key is to prevent the acceptance of the ownership when the address has a zero-value i.e. 0x0...
in
acceptOwnership()
there'srequire(_newOwner != address(0), "owner cannot be set to 0x0000000000000000000000000000000000000000");
. Shouldn't this line also exist intransferOwnership()
foraddress _account
?The text was updated successfully, but these errors were encountered: