acceptOwner should reset pendingOwner #105
Labels
1 (Low Risk)
Assets are not at risk. State handling, function incorrect as to spec, issues with comments
bug
Something isn't working
duplicate
This issue or pull request already exists
Handle
p4st13r4
Vulnerability details
Impact
TimeswapFactory
allows to transfer ownership of the contract, howeverpendingOwner
is never reset upon accepting the ownership. Since it’s a public state var, it’s a good practice to reset it to0
after the operationProof of Concept
Tools Used
Editor
Recommended Mitigation Steps
Add
The text was updated successfully, but these errors were encountered: