Skip to content

Commit

Permalink
fix: 5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
GalloDaSballo committed Oct 15, 2024
1 parent 3a7fd77 commit d77fa12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Governance.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
Expand Down

0 comments on commit d77fa12

Please sign in to comment.