Remove the Renounce Ownership functionality¶
Now, let's remove the function to remove an owner. We simply stop this with a revert. Add the following function to the SharedWallet:

contract SharedWallet is Allowance {
//...
function renounceOwnership() public override onlyOwner {
revert("can't renounceOwnership here"); //not possible with this smart contract
}
//...
}
Last update:
April 29, 2022