Closed code423n4 closed 3 years ago
pauliax
function _setYieldSource can cache _newYieldSource.depositToken() to eliminate a duplicate call and thus save some gas.
Duplicate of https://github.com/code-423n4/2021-07-pooltogether-findings/issues/26
Handle
pauliax
Vulnerability details
Impact
function _setYieldSource can cache _newYieldSource.depositToken() to eliminate a duplicate call and thus save some gas.