Skip to content

Commit

Permalink
fix(contracts): duplicate identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
thedevbirb committed Sep 11, 2024
1 parent 7aa7371 commit eb10f97
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions bolt-contracts/src/contracts/BoltManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -554,13 +554,6 @@ contract BoltManager is IBoltManager, Ownable {
collateral,
epochStartTs
);
uint256 vaultStake = IBaseDelegator(IVault(vault).delegator())
.stakeAt(
BOLT_SYMBIOTIC_NETWORK.subnetwork(0),
operator,
epochStartTs,
new bytes(0)
);

if (amount > operatorStake) {
revert SlashAmountTooHigh();
Expand Down

0 comments on commit eb10f97

Please sign in to comment.