coinbase / smart-wallet

MIT License
258 stars 47 forks source link

Do not allow removeOwnerAtIndex to remove last owner, add function for removing last owner #43

Closed wilsoncusack closed 3 months ago

wilsoncusack commented 3 months ago

Adds a guard on removeOwnerAtIndex such that it will revert if the call will leave no owners on the account.

No tests yet because still considering. Removes the ability to renounce ownership, except by setting some like 0xdead owner.