From d77fa120fb12d85ea9cea19d5a421c767925992f Mon Sep 17 00:00:00 2001 From: gallo Date: Tue, 15 Oct 2024 15:58:15 +0200 Subject: [PATCH] fix: 5.3 --- src/Governance.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Governance.sol b/src/Governance.sol index 2766df48..b9f426fc 100644 --- a/src/Governance.sol +++ b/src/Governance.sol @@ -513,7 +513,7 @@ contract Governance is Multicall, UserProxyFactory, ReentrancyGuard, IGovernance // update the average staking timestamp for all counted voting LQTY state.countedVoteLQTYAverageTimestamp = _calculateAverageTimestamp( state.countedVoteLQTYAverageTimestamp, - initiativeState.averageStakingTimestampVoteLQTY, + prevInitiativeState.averageStakingTimestampVoteLQTY, /// @audit TODO Write tests that fail from this bug state.countedVoteLQTY, state.countedVoteLQTY - prevInitiativeState.voteLQTY );