MovingAverage.sol#_getFirstSample()
Implementation can be simpler and save some gas
#308
Labels
bug
Something isn't working
G (Gas Optimization)
sponsor acknowledged
Technically the issue is correct, but we're not going to resolve it for XYZ reasons
Handle
WatchPug
Vulnerability details
https://github.com/code-423n4/2021-11-malt/blob/c3a204a2c0f7c653c6c2dda9f4563fd1dc1cecf3/src/contracts/MovingAverage.sol#L362-L367
Recommendation
Change to:
The text was updated successfully, but these errors were encountered: