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

0 stars 0 forks source link

_requireYieldSource when setting new yield source #76

Closed code423n4 closed 3 years ago

code423n4 commented 3 years ago

Handle

pauliax

Vulnerability details

Impact

Function setYieldSource should use _requireYieldSource to ensure that the new yield source is valid. Now _requireYieldSource is only used in the constructor when setting the initial yield source.

PierrickGT commented 3 years ago

Duplicate of https://github.com/code-423n4/2021-07-pooltogether-findings/issues/7