Skip to content

Commit 81f3e55

Browse files
committed
chore: comment
1 parent 2f59274 commit 81f3e55

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Governance.sol

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,9 @@ contract Governance is Multicall, UserProxyFactory, ReentrancyGuard, IGovernance
560560
function resetAllocations(address[] calldata _initiativesToReset) external nonReentrant {
561561
_requireNoDuplicates(_initiativesToReset);
562562
_resetInitiatives(_initiativesToReset);
563+
564+
// TODO: Remove this as we may be in a scenario in which this causes DOS due to
565+
// having too many initiatives
563566
require(userStates[msg.sender].allocatedLQTY == 0, "must be a reset");
564567
}
565568

0 commit comments

Comments
 (0)