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

0 stars 0 forks source link

Functions in SushiYieldSource can be external #102

Closed code423n4 closed 3 years ago

code423n4 commented 3 years ago

Handle

tensors

Vulnerability details

Impact

Changing the functions in SushiYieldSource.sol to external can save gas.

Proof of Concept

https://github.com/pooltogether/sushi-pooltogether/blob/master/contracts/SushiYieldSource.sol

Recommended Mitigation Steps

Change public to external

asselstine commented 3 years ago

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