## [M-1] Price oracle could get a stale price
## Vulnerability Details
In the `KittyVault::getUserVaultMeowllateralInEuros` function does not check for stale price using updateAt and roundId.
Links:
https:
https:
## Impact
A stale price can cause `getUserVaultMeowllateralInEuros` to return a wrong value causing several function which depends on it to malfunction.
## Tools Used
Manual Review
## Recommendations
Check answer, updateAt and roundId when getting price:
```diff
- (, int256 collateralToUsdPrice, , , ) = i_priceFeed.latestRoundData();
+ (uint80 roundId, int256 collateralToUsdPrice, , uint256 updatedAt, uint80 answeredInRound) = i_priceFeed.latestRoundData();
+ require(updatedAt > 0, "Round is not complete");
+ require(answer >= 0, "Invalid feed answer");
+ require(answeredInRound >= roundID, "Stale price")
```
same should be done for `i_euroPriceFeed`