Submitted by gpersoon
The values of lastRatio in the contract Buoy3Pool.sol are not initialized (thus they have a value of 0).
If safetyCheck() would be called before the first time _updateRatios is called, then safetyCheck() would give unexpected results.
Buoy3Pool.sol L25:
Recommend double checking if this situation can occur and perhaps calling _updateRatios as soon as possible. Or alternatively, check in safetyCheck that the lastRatio values are initialized.
- kristian-gro (Gro) acknowledged
