Skip to content

Commit

Permalink
small cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Da-Colon committed Oct 21, 2024
1 parent ae18198 commit 418a93f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions contracts/DecentHats.sol
Original file line number Diff line number Diff line change
Expand Up @@ -88,16 +88,14 @@ contract DecentHats {

for (uint256 i = 0; i < params.hats.length; ) {
if (params.hats[i].isTermed) {
uint256 hatId = params.hatsProtocol.getNextId(adminHatId);

// Create election module and set as eligiblity
_createTermedHatAndAccountAndMintAndStreams(
params.hatsProtocol,
topHatAccount,
_createElectionEligiblityModule(
params.hatsModuleFactory,
params.hatsElectionEligibilityImplementation,
hatId,
params.hatsProtocol.getNextId(adminHatId),
topHatId,
params.hats[i].termedParams[0]
),
Expand Down

0 comments on commit 418a93f

Please sign in to comment.