Skip to content

Commit

Permalink
chore: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
GalloDaSballo committed Oct 29, 2024
1 parent 2f59274 commit 81f3e55
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Governance.sol
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,9 @@ contract Governance is Multicall, UserProxyFactory, ReentrancyGuard, IGovernance
function resetAllocations(address[] calldata _initiativesToReset) external nonReentrant {
_requireNoDuplicates(_initiativesToReset);
_resetInitiatives(_initiativesToReset);

// TODO: Remove this as we may be in a scenario in which this causes DOS due to
// having too many initiatives
require(userStates[msg.sender].allocatedLQTY == 0, "must be a reset");
}

Expand Down

0 comments on commit 81f3e55

Please sign in to comment.