```\n    function removeVault(address vaultAddress) external onlyUpdater {\n        Errors.verifyNotZero(vaultAddress, "vaultAddress");\n\n        // remove from vaults list\n        if (!_vaults.remove(vaultAddress)) revert VaultNotFound(vaultAddress);\n\n        address asset = ILMPVault(vaultAddress).asset();\n\n        // remove from assets list if this was the last vault for that asset\n        if (_vaultsByAsset[asset].length() == 1) {\n            //slither-disable-next-line unused-return\n            _assets.remove(asset);\n        }\n\n        // remove from vaultsByAsset mapping\n        if (!_vaultsByAsset[asset].remove(vaultAddress)) revert VaultNotFound(vaultAddress);\n\n        emit VaultRemoved(asset, vaultAddress);\n    }\n```\n