You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the original MultiOwnable implementation there was no check to stop a user accidentally removing the last owner of an account, which would lead to the account being permanently inaccessible and any funds it held being locked.
Mitigation
To mitigate this, the function removeOwnerAtIndex now reverts if the index passed to it contains the last active owner. Additionally a removeLastOwner function has been added to allow users to still remove the accounts last owner if that is indeed their intention.
Conclusion
The mitigations made should indeed make it impossible for a user to mistakenly remove an account's last owner via removeOwnerAtIndex.
The text was updated successfully, but these errors were encountered:
Lines of code
Vulnerability details
Comments
In the original
MultiOwnable
implementation there was no check to stop a user accidentally removing the last owner of an account, which would lead to the account being permanently inaccessible and any funds it held being locked.Mitigation
To mitigate this, the function
removeOwnerAtIndex
now reverts if theindex
passed to it contains the last active owner. Additionally aremoveLastOwner
function has been added to allow users to still remove the accounts last owner if that is indeed their intention.Conclusion
The mitigations made should indeed make it impossible for a user to mistakenly remove an account's last owner via
removeOwnerAtIndex
.The text was updated successfully, but these errors were encountered: