remix-project icon indicating copy to clipboard operation
remix-project copied to clipboard

Check for Zero Address

Open devmev10 opened this issue 1 year ago • 2 comments

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.

devmev10 avatar Jun 16 '24 09:06 devmev10