Trick or Treat

First Flight #27
Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: low
Invalid

Use a two-step transfer strategy is better

Summary

In summary, it is more secure to use two-step transfer ownership.

It's fine as current code of function changeOwner

But there is a better way to implement it, more secure way.

By adding second step confirm newOwner function.
It could reduce the possibility of setting a wrong address as new owner.
[refer](https://www.linkedin.com/pulse/ownership-solidity-two-step-transfer-strategy-ana-rojo-agustí-2jdyf)

Updates

Appeal created

bube Lead Judge 9 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.