Skip to content

Commit

Permalink
fix: Remove unnecessary _computeNewStake (Dedaub A11)
Browse files Browse the repository at this point in the history
From remove batch manager.
  • Loading branch information
bingen committed Aug 29, 2024
1 parent 45f8dc4 commit 4f422e6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion contracts/src/TroveManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -1791,7 +1791,6 @@ contract TroveManager is LiquityBase, ITroveManager, ITroveEvents {
// Restore Trove state
Troves[_troveId].debt = _newTroveDebt;
Troves[_troveId].coll = _newTroveColl;
Troves[_troveId].stake = _computeNewStake(_newTroveColl);
Troves[_troveId].lastDebtUpdateTime = uint64(block.timestamp);
Troves[_troveId].annualInterestRate = _newAnnualInterestRate;
Troves[_troveId].lastInterestRateAdjTime = uint64(block.timestamp);
Expand Down

0 comments on commit 4f422e6

Please sign in to comment.