Skip to content

Commit

Permalink
Fix audit #LMS-02
Browse files Browse the repository at this point in the history
Remove redundant instruction
  • Loading branch information
cwsnt committed Jan 13, 2022
1 parent c507ee7 commit 3b71e3e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions contracts/farm/LiquidityMining.sol
Expand Up @@ -576,8 +576,6 @@ contract LiquidityMining is ILiquidityMining, LiquidityMiningStorage {
user.accumulatedReward = 0;
pool.poolToken.safeTransfer(address(msg.sender), userAmount);

_updateRewardDebt(pool, user);

emit EmergencyWithdraw(msg.sender, _poolToken, userAmount, userAccumulatedReward);
}

Expand Down

0 comments on commit 3b71e3e

Please sign in to comment.