code-423n4 / 2021-04-vader-findings

1 stars 0 forks source link

curatePool emits Curated event no matter what #274

Open code423n4 opened 3 years ago

code423n4 commented 3 years ago

Handle

paulius.eth

Vulnerability details

Impact

function curatePool emits Curated event every time. It should emit this event only when the conditions are fulfilled.

Recommended Mitigation Steps

Put this event inside the most inner if block.