Open code423n4 opened 2 years ago
since extraYieldAmount is already initialised
https://github.com/code-423n4/2022-05-sturdy/blob/78f51a7a74ebe8adfd055bdbaedfddc05632566f/smart-contracts/YieldManager.sol#L154
On L160, replace _totalYield Amount with the local variable mentioned above.
Gas
since extraYieldAmount is already initialised
https://github.com/code-423n4/2022-05-sturdy/blob/78f51a7a74ebe8adfd055bdbaedfddc05632566f/smart-contracts/YieldManager.sol#L154
On L160, replace _totalYield Amount with the local variable mentioned above.