`Vault.sol::isRemoved` function return constant false value, this function is in `OperatorVCS.ol::queueVaultRemoval` in the following way in if statements `if (!IVault(vault).isRemoved()) revert OperatorNotRemoved();` which mean that if will always be true and revert the function. this will lead to break the function usage.
break the functionality of contract and function, user will not be able to queue a vault for remove.
VS code
remove the if statements.
```solidity
function queueVaultRemoval(uint256 _index) external {
address vault = address(vaults[_index]);
-- if (!IVault(vault).isRemoved()) revert OperatorNotRemoved();
for (uint256 i = 0; i < vaultsToRemove.length; ++i) {
if (vaultsToRemove[i] == vault) revert VaultRemovalAlreadyQueued();
}
vaultsToRemove.push(address(vaults[_index]));
// update group accounting if vault is part of a group
if (_index < globalVaultState.depositIndex) {
uint256 group = _index % globalVaultState.numVaultGroups;
uint256[] memory groups = new uint256[](1);
groups[0] = group;
fundFlowController.updateOperatorVaultGroupAccounting(groups);
// if possiible, remove vault right away
if (vaults[_index].claimPeriodActive()) {
removeVault(vaultsToRemove.length - 1);
}
}
}
```
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.