# Pending owner is not cleared #143
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
cmichel
Vulnerability details
The
TimeswapFactory.acceptOwner
function does not resetpendingOwner
to zero.Impact
The pending owner can repeatedly accept the governance, emitting an
AcceptOwner
event each time, bloating listeners for this event with unnecessary data.Recommended Mitigation Steps
Reset
pendingOwner
to zero inacceptOwner
.The text was updated successfully, but these errors were encountered: