Skip to content

Commit

Permalink
update vaultMapping in removeVault
Browse files Browse the repository at this point in the history
  • Loading branch information
BkChoy committed Nov 11, 2024
1 parent 2c84477 commit c5391b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contracts/linkStaking/OperatorVCS.sol
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ contract OperatorVCS is VaultControllerStrategy {
vaults[i] = vaults[i + 1];
}
vaults.pop();
delete vaultMapping[vault];

token.safeTransfer(address(stakingPool), token.balanceOf(address(this)));
}
Expand Down

0 comments on commit c5391b7

Please sign in to comment.