remix-project
remix-project copied to clipboard
Check for Zero Address
Added a require statement in the changeOwner function to ensure that the new owner is not set to the zero address. This prevents accidental loss of control over the contract.