The newPassword parameter in setPassword(string memory newPassword) should be made calldata the argument will not be modified during the function's call existence.
If it is made calldata, this can save up tp 1% of gas used when calling this function
Manual Review
Change memory to calldata to save gas
function setPassword(string memory newPassword)
function setPassword(string calldata newPassword)
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.