From 6a2d92b170ec3b7404a82b187bf3b1fca500fbc3 Mon Sep 17 00:00:00 2001 From: Mikhail Melnik Date: Tue, 26 Sep 2023 12:36:44 +0400 Subject: [PATCH] cleanup --- contracts/accounting/FarmAccounting.sol | 1 - 1 file changed, 1 deletion(-) diff --git a/contracts/accounting/FarmAccounting.sol b/contracts/accounting/FarmAccounting.sol index 31471d7..78e2a6e 100644 --- a/contracts/accounting/FarmAccounting.sol +++ b/contracts/accounting/FarmAccounting.sol @@ -37,7 +37,6 @@ library FarmAccounting { // If something left from prev farming add it to the new farming (uint40 finished, uint32 duration, uint184 reward, uint256 balance) = (info.finished, info.duration, info.reward, info.balance); - // Info memory prev = info; if (block.timestamp < finished) { amount += reward - farmedSinceCheckpointScaled(info, finished - duration) / _SCALE; }