Skip to content

Commit

Permalink
chore: future notes
Browse files Browse the repository at this point in the history
  • Loading branch information
GalloDaSballo committed Oct 11, 2024
1 parent 9e8fd9e commit e4ccbc0
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 @@ -279,7 +279,7 @@ contract Governance is Multicall, UserProxyFactory, ReentrancyGuard, IGovernance
lqtyToVotes(initiativeState.vetoLQTY, start, initiativeState.averageStakingTimestampVetoLQTY);
// if the votes didn't meet the voting threshold then no votes qualify
if (votes >= votingThreshold && votes >= vetos) {
initiativeSnapshot.votes = uint224(votes);
initiativeSnapshot.votes = uint224(votes); /// @audit TODO: We should change this to check the treshold, we should instead use the snapshot to just report all the valid data
initiativeSnapshot.lastCountedEpoch = currentEpoch - 1;
} else {
initiativeSnapshot.votes = 0;
Expand Down

0 comments on commit e4ccbc0

Please sign in to comment.