Skip to content

Commit

Permalink
Resolves slither warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
has5aan committed Jul 2, 2024
1 parent 58881ce commit a7d8fb1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/L2/L2Reward.sol
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,9 @@ contract L2Reward is Initializable, Ownable2StepUpgradeable, UUPSUpgradeable, IS
// claim rewards and updates staking contract
// slither-disable-next-line reentrancy-no-eth
_claimReward(lockID);
// slither-disable-next-line uninitialized-state-variables

IL2Staking(stakingContract).unlock(lockID);
// slither-disable-next-line uninitialized-state-variables

// slither-disable-next-line reentrancy-no-eth
delete lastClaimDate[lockID];

emit LockingPositionDeleted(lockID);
Expand Down

0 comments on commit a7d8fb1

Please sign in to comment.