code-423n4 / 2021-07-spartan-findings

0 stars 0 forks source link

Pool can be curated several times #179

Closed code423n4 closed 3 years ago

code423n4 commented 3 years ago

Handle

cmichel

Vulnerability details

poolFactory.addCuratedPool does not fail if the pool is already curated. It also emits the AddCuratePool event again

Impact

The AddCuratePool should not be fired if the pool is already curated.

Recommended Mitigation Steps

Fail if the pool is already curated.

verifyfirst commented 3 years ago

Check needs to be added for this issue

verifyfirst commented 3 years ago

Duplicate of #137